Without tags in HTML, we can't create any HTML document. in this tutorial, we discussed some of the HTML basic tags with examples.
The <head> tag represents the meta tags information in the HTML page. the <head> consists of some of the elements like link, meta tags, script, style, etc. and this head tag should be written in between <head> and <body>.
Note: The contents inside the <head> tag will not be displayed on web browser.
The <title> tag represents the title of the document. it will show in the address bar of the browser.
The <heading> tag represents the Heading of the document. there is a six levels of headings are there in HTML. they are <h1>, <h2>, <h3>, <h4>, <h5>, <h6>. these 6 levels having a difference in font sizes. same like newspaper heading.
The <p> tag represents the paragraph of the document. the text written in between opening tag <p> and closing tag </p> will be considered as paragraph.
if you want to add a line break between two lines in HTML, then this tag will do that work.
The <br /> tag is an example fo empty element. elements with no closing tag are known as an empty tag in HTML.
These HTML tags which have no data presented in between tags. Example <link>, <img>, <hr>, etc..
if you want to add a horizontal line between two text lines or divisions in HTML, you can use the <hr /> tag.
These are all the examples of the basic tags of HTML. in the future we will discuss on HTML basic tags list with examples.