1. What are HTML Tags?

HTML tags are the fundamental constituents of HTML markup. A web page never completes without tags. The HTML tags are basically part of HTML elements, the sole distinction is the partial or starting or closing tag of an element is called a tag. Whereas, both initial and final tags, including the content, make up a complete HTML element. We can say tags are the building blocks of the HTML element. Look at the subsequent example to understand the tags’ usability and specifications.

Tutorial Contents:

  1. What are HTML Tags?
  2. Importance of HTML Tags


<head><!–Head Section content goes here —></head>
<h2>HTML Heading Tag</h2>
<p>This is a paragraph.</p>

Try in CodeLab

In the above example, only tags are displayed. Furthermore, all the elements with the starting tag and an ending tag with the content sandwiched between them formulate a working element. consequently, without tags, it is impossible to write markup or make a webpage. So, this tells the importance and usability of tags.


  • It is a custom to write HTML tags in lower case
  • Writing tags in uppercase would produce the same results
  • But, W3c recommends and sometimes restricts to write the tags in lower case
  • So, we should make practice or habit of writing tags in lowercase

2. Importance of HTML Tags

Furthermore, the tags also have importance because they tell the behavior of every single component to the browser. Like we explained in the HTML introduction, tags do not display on the browser, instead, they are rendered and produce useful results.


Usually, you may see a trailing slash / at the end of certain singleton tags. As HTML5 do not strict this, rather XHTML strictly follows practice to add a trailing slash.

Also, if you want to see the presentation types, semantic and even deprecated tags, visit this link: HTML Tag Types

Give Us Your Feedback
If You Need Any Help!
Contact Us