Basic Structure of HTML Document
The basic structure of an HTML document is given below:<HTML>
<HEAD>
</HEAD>
<BODY>
</BODY>
</HTML>
The above format shows that an HTML document starts
with <HTML> tag and ends with </HTML> tag. It is also clear
that an HTML document consists of two main sections:
Head Section
page, normally. There are some other uses of Head section too, like linking
external style sheets and Java script code, etc. Head section starts with the <HEAD>
tag and ends with the </HEAD> tag. <TITLE> tag is used to
display a title of the web page on title bar of the web browser.
-
Body Section
content of the web page. Body section starts with <BODY> tag and
ends with </BODY> tag.
Comments