How many HTML tags are there in HTML[Answered]
There are 142 and 132 HTML tags according to Mozilla Developer Network(MDN) and HTML.com respectively. I looked at all the major websites that list HTML tags and collected all the numbers in this blog post. I researched and counted all the HTML tags, so you don’t have to count them yourself.
Recently, I have been wondering how many HTML tags exist. I searched online, like you but I could not find an exact answer. I wrote this article as a final answer to that question.
For purpose of this report, a html tag can be self-closing single tag
<tag> or a pair of HTML tags
My approach: Check 5 HTML reference websites.
For my source, I chose 5 websites that are mostly used as references for developers. These are: HTML.com, Yourhtmlsource.com, Mozilla Developer Network(MDN), HtmlReference.io, and W3schools.com.
Total Number of HTML tags
|Reference Website||Total number of HTML tags|
|Mozilla Developer Network(MDN)||142|
Current usable HTML tags
These HTML tags are part of the current version of HTML(HTML5).
|Reference Website||Total number Supported HTML tags|
|Mozilla Developer Network(MDN)||111|
Depracated HTML tags
These are HTML tags that are not supported by the HTML standards. They used to be there but some times ago but they were removed from the current version of HTML- HTML5.
|Reference Website||Total number Unsupported HTML tags|
|Mozilla Developer Network(MDN)||31|
Since you already know what HTML tags are, you can go ahead and create your first webpage using HTML.
Hi there! I am Avic Ndugu.
Front End Developer Newsletter
Receive a monthly Frontend Web Development newsletter.
Never any spam, easily unsubscribe any time.