Tag Archives: basic html document structure

Html Documents


Html Documents : Starts with the DOCTYPE declaration ie .. The main document of html start with tag and ends with tag.


Html Documents

Below is simple example of the html document.

Example





Heading

Paragraph.

Try it »

The above example contains basically following parts:

1. Doctype Declaration : is used to declare the document type.
2. Html : defines the root of html.
3. Head : which defines the information about the document.
4. Body : which contains the main and visible part in html.

Html Documents

Html Documents