What are the main elements of an HTML document?
The main elements of an HTML document are the following:
1. – This is the first element of an HTML document and it is used to declare the document type.
Example:
2. – This element is used to define the root of an HTML document.
Example:
3. – This element contains the document’s metadata and is used to provide information about the document.
Example:
4.
Example:
5. – This element contains all the content of the document.
Example:
6.
– This element is used to define a heading.
Example:
Welcome to my website!
7.
– This element is used to define a paragraph.
Example:
This is my website.
8. – This element is used to define a link.
Example: Visit my website
9. – This element is used to define an image.
Example: 
10. – This element is used to define a script.
Example: