What Are HTML Elements?

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

Rajdeep Singh
Rajdeep Singh

1 min read

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

<title> and </title> without Content Structure or Expression or empty called html tag and when title tag with a Content Structure or Expression, Like this <title> Index Page </title> is a title Element.

Basic Example:

<h1> A heading Element </h1>
<h2> A heading Element </h2>
copy success

Structure Example:

   <h1> Page Title Heading Elements </h1>
   <p> This paragraph Elements </p>
copy success