HTML Elements


An HTML element is always written in a start tag, some content, and a close tag. There are many HTML element tags, so you can see follow below.

Every element can have HTML properties determined. Elements can likewise have content, including different elements and content.

Start Tag Descrption Close Tag
<h1> .. <h6> Heading Tags. </h1> .. </h6>
<p> Paragraph Tag. </p>
<i> Italic Tag. </i>
<b> Bold Tag. </b>

Empty elements

The HTML elements have no content and close tag than it’s called empty elements. There are many HTML empty elements available, so you can see follow below.

Start Tag Descrption Close Tag
<hr/> horizontal ruler tag.
<br/> Line Break Tag.

Nested HTML Elements

HTML element allowed another element. so one HTML element inside another HTML element is called Nested HTML Elements.

<!DOCTYPE html>
<html>
   <head>
      <title></title>
   </head>	
   <body>
      <p>Nested <b>Elements</b> Example</p>
   </body>
</html>