What are the types of tags in HTML and what are their functions


! DOCTYPE is a tag attribute, like body and head. It is an instruction to the Web browser about which HTML version of the page to write.

The head:

1. It is a container for all header elements, and the contents of most header tags are not displayed to the reader.

2. The part of the label that can be added is,,,

body :

1. The body used to define the document, which contains all the content of the document

2. This tag supports HTML global attributes and event attributes.