What is the structure of HTML ?

The structure of HTML is just like our body. Such as our head, body and foot. HEAD is the first tag of HTML, where we keep styles, fonts, scripts etc. After that body section, where we write all codes, which appear in the browser. But head don’t appear any codes in the browser. It run in background. After that footer section.

For Example:

Code:

Diagram: