explain the classification of html tages with the example
Answers
Answer:
HTML Tags Can Be of Two Types
1. Paired Tags
Paired tags have an opening and closing tag. The opening tag is similar to the single tag <div>, and the closing has first slash </div>, between them, write some content (text, images or something else) and for this, they are called containers.
Attachment of tags (descriptors, containers) are allowed.
2. Singular Tags
A tag is set to be a singular tag when there is no closing tag for that or Tag is said to be singular tag when there is no companion tag.
For example, we have only one tag which doesn’t require any closing tag and it must always be a single tag, that is why it’s called singular tag Singular Tags are also called:
Unpaired Tags
Standalone tag
Tag without companion tag
Example: <br />, <hr />
3. Meta Tags
Meta Tags are those tags which are used in the <head> section of the website, which provides relative data about the web-page to the search engine.
For example, we use meta keywords for a single page of our website if you right-click on this web page and view source, then you will see in the header section there are meta tags used, which carry Meta title, Meta keywords, and Meta description.