Learn HTML tags, HTML tags tutorial step by step for beginners
HTML tag means words and method of writing words using which an HTML document is created, no HTML webpage can be created without using tags.
To write any content in HTML tag, you have to open and close the tag
Tag Syntax
<tag> content </tag>
Example:
<b> Bold Tag </b>
<title> title tag</title>
<i> Italic Tag </i>
<b> Bold Tag</b>
<p> Paragraph Tag </p>
<h1> Heading Tag </h2>
There are two types of tags in HTML,
1. Paired Tag,
2. Unpaired Tag
Paired tag means that after opening it to use it, it also has to be closed in the end.
Unpaired tags means those tags which after opening for use, there is no need to close them at the end.
1. HTML Doctype Tag:
Doctype HTML tag is used to define the document type.
2. HTML Anchor Tag:
The < a > anchor tag is used to create hyperlinks on text.