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

  • MS Access Data Types
  • Install RAPTOR Avalonia on CentOS
  • Download RAPTOR Avalonia Edition on Windows
  • npm doctor command
  • Build & Run CLion Project
  • Create New CLion C Project on Windows
  • Configure CLion Toolchains on Windows
  • Launch CLion IDE on Windows
  • Activate CLion IDE
  • CLion IDE for C/C++ Development

Back to Top

Links

  • Contact
  • Privacy Policy
  • Cookie Policy

www.TestingDocs.com

Go to mobile version