Know about Comment, Tags & Element in HTML.

In this article I will discuss about Comment, Tags & Element in html.
Comment
Here the word "Comment" itself saying everything i.e when we want to explain our code for furture understanding but don't want to display on our web page, then we use comment. For this we have to press " ctrl+/ " (where we want to comment).

In above pic "This is Paragraph" is comment. And in below pic we can see that the comment is not showing on our web page.

Tags
Tags are keyword which is already known to our web browser and according to these tags our web browser format it and display our content.
With the help of tags, a web browser can differentiate between an HTML content and a Simple content.
Type Of Tags
There are two type of tags:
Paired Tag
Unpaired Tag
Paired Tag :- Tags in which our content is represented between opening tag (<>) and closing tag (</>).

eg:- <p> This is awesome platform </p>
Unpaired Tag :- Tags in which there isn't closing tag.
eg:- <br> , <hr> ,etc
Element
The collection of Opening and closing tag with content between both tags is known as element.

Thanks for your time.

