In this tutorial i will talk about Basic Structure of an HTML. Before you can start adding content to your document, there's a basic structure you need to set up in your file. This structure isn't only required for your document to be compliant but will also allow you to provide useful information about your document. The basic structure of any HTML document consists of the following sections or elements:
The DTD (!DOCTYPE declaration).
The main container (html element).
The head section (head element).
The body section (body element).