Dec 22, 2020Rajdeep Singhhtml

What are HTML Tags?

HTML tag specify Character to define an HTML element.

Tags Are Specified word or Character used to Define Tags Inside HTML.They begin with the < Open Bracket symbol and end with the > Closing Bracket symbol. Whatever is written inside < and > are called tags.

  • Start tag or opening tag(<html>) and End tag or closing tag(</html>).
  • An end tag always matches a start tag, except that it has an extra forward-slash(/) after the opening angle bracket use in Eng Tag.

Example

<h1> A heading </h1>

HTML tag Example By Rajdeep Singh


HTML Tags Type

  1. Container Tag:
  2. Empty Tag:

Container Tag

Container tag always Contains opening and closing Tag.

Example

<html> </html>
<head> </head>
<body> </body>

Empty Tag

Empty Tag Do Not Contain Opening and Closing Tag

Example

<br>
<area>
<base>
<hr>
<img>
<input>

Related Articles

Recommended based on topic, title, and author

All articles→

Have a project or question?

Feel free to reach out for business inquiries, questions, or collaboration.