Basic Structure of Html Page

HTML Basic Structure of Html Page Doctype

Structure of Html Document

The Basic Structure of an Html Document is as follows:

<!DOCTYPE html> <html> <head> </head> <body> </body> </html>

All Html Documents must start with a document type declaration:<!DOCTYPE html> <html> and </html> tags indicate the beginning and end of the document. All other Html tags must be written within these tags.

Html Document can be divided into two sections:

1:Head Section

2:Body Section

Head Section:-

<head> <title> My First Page </title> </head>

<head> and </head> tags identify the heading or title of document. The tags <title> and </title> can appear in this section. Text between title tags appears as title in the browser's window.



Body Section-

<body> <h1>Html Stands for Hyper Text Markup Language </h1> </body>

<body> and </body> tags contains the headings,paragraph,images,tables,forms,etc that is displayed on web page. It gives description of the document layout and structure.


Html Stands for Hyper Text Markup Language

HTML Doctype Chapter Next »