What Are HTML Elements?

HTML Elements enclose the contents in between the Opening and Closing tag.

What Are HTML Elements?

The combination of Opening and Ending tags define an Element. Everything between the two tags(Opening and Ending tags) is referred to as an element.

<title> and </title> Make Sure This is a Tag and title with a Content Structure or Expression, Like this <title>Index Page </title> is a title Element.

  • <p> or </p>: This Is Tags.
  • <p> paragraph Here</p> : this Is Element.

Basic Example:

<h1> A heading Element </h1>
<h2> A heading Element </h2>
HTML Element Example.

Structure Example:

<div> 
   <h1> Page Title Heading Elements </h1>
   <p> This paragraph Elements </p>
</div>
HTML Structure Example.

Contact me