Basic Structure of HTML

Posted in HTML Tutorials | Email This Post Email This Post

Document Type <HTML> </HTML>
Title <TITLE> </TITLE>
Header <HEAD> </HEAD>
Body <BODY> </BODY>

• HTML document begins and ends with HTML tag i.e. <HTML> </HTML>
Here <HTML> indicates the browser that it is a HTML document and </HTML> tells the browser that HTML document is completed.

• Header Tag i.e. <HEAD></HEAD>
Header Tag does not contain any text, it only contains the Title Tag in it.

• Title tag i.e. <TITLE></TITLE>
Anything written between this tag is not displayed on the screen but it is used to identify the Webpage.

• Body tag i.e.<BODY></BODY>
This is the main part of HTML document. The content which is to be displayed on screen as webpage should be written here. Body Tag contains the text as well as various tags but only the text will be displayed on Webpage.

A simple example

<html>
<head>
<title>	My First WEB PAGE </title>
<body>
HTML is Hyper Text Markup Language
</body>
</html>

Simple HTML program

More Entries :
Comments
  • sudeep August 25, 2012 at 7:50 pm

    superb!!!!!!!!!!!!!!!!!!!!!!!!! awsum!!!!!!!

  • sudeep August 25, 2012 at 7:52 pm

    vry useful n in4mative

  • Balaji May 25, 2013 at 12:12 pm

    simple and useful… thankyou…

Languages Tutor

Best Hosting

Softwares For Coders

Best Hosting

Recently Added

Spread the Word