TestingDocs.com
    Software Testing website
    • Automation
      • Selenium
      • JBehave Framework
    • Tutorials
      • MySQL Tutorials
      • Testlink
      • Maven
      • Git
    • IDEs
      • IntelliJ IDEA
      • Eclipse
    • Flowcharts
      • Flowgorithm
      • Raptor
    • About

    HTML

    HTML Elements

    Overview

    An HTML document consists of HTML elements. These elements are
    defined by HTML tags. It has the following parts:

    • Opening HTML Tag
    • Element content
    • Closing HTML Tag

     

    Example

    <html>
    <!–
    ####################################
    # HTML Elements Demo
    ####################################
    –>
    <head>
    <title> HTML Tutorials – www.TestingDocs.com</title>
    </head>
    <body>

    <h1> This is Heading</h1>
    <br>
    <p> This is a sample paragraph text. </h2>
    </body>
    </html>

     

    HTML Attributes

    Attributes give additional information about an HTML element.

    Syntax

    Attributes are specified in the start tag of the element. The syntax to specify an attribute is:

    attribute-name = “attribute-value”

    Example

    <input type=”radio” name=”radioDemo” value=”Maths”>

    The input tag in the example has three attributes: type, name and value. The values of the attributes are specified within the double quotes.

    —

    HTML Tutorials

    HTML Tutorials on this website:

    https://www.testingdocs.com/html-tutorials/

    More Information on HTML:

    https://www.w3.org/TR/html401/intro/intro.html

    Related Posts

    Create HTML File

    HTML /

    Create HTML file with NetBeans IDE

    HTML /

    HTML5 Document Structure

    HTML /

    Introduction To HTML5

    HTML5 Application NetBeans

    HTML /

    Create an HTML5 Application using NetBeans IDE

    CSS Validator Tool

    HTML /

    HTML & CSS Validator Tools

    ‹ HTML Comments› HTML Headings

    Recent Posts

    • ChatGPT Plans Free and PlusChatGPT Subscription Plans
    • Stellar Converter for Database ToolStellar Converter for Database
    • Stellar MySQL Log AnalyzerStellar Log Analyzer for MySQL
    • Stellar Repair for MySQLStellar Repair for MySQL
    • ChatGPT IntroductionChatGPT Capabilities
    • How to secure your SQL Database: Tips and Tricks
    • ChatGPT4 Conversational AI FeaturesChatGPT4 Conversational AI Features
    • Trends in Software EngineeringShaping the Future of Development: Exploring Key Trends in Software Engineering
    • Java PerformanceImproving Java Performance with Multithreading
    • QDrant Vector DatabaseOpen-source Vector Databases
    • Difference between PHP and JavaScript?
    • Bing AI Browser Web ContentBing Conversation Styles
    • ChatGPT PreviewChatGPT Introduction
    • Open Source AI Frameworks TensorFlowOpen Source AI Frameworks
    • Artificial Intelligence Tools

    Back to Top

    Links

    • Contact
    • Privacy Policy
    • Cookie Policy

    www.TestingDocs.com