HTML documents are structured into various tags. Every document has four tags. These tags are:
<HTML>tag is put at the beginning and end of any document. Everything in the document
goes inside the<HTML>tag.
The<HEAD>tag contains general information about the document. It lies just below the <HTML>tag. It is like the cover page of a document containing general information about it.
The title of a document is specified by the<TITLE>tag. It is placed between the<HEAD>tags. Each document can have only one title.
The<BODY>tag contains the contents of the document. All the text, headers, tables, headings, paragraph, etc go into this tag.