Structure of HTML Document

Domain Hosting image
Web Hosting
Dedicated server
ssl certificate
Web Design image
Email

The HTML document is usually divided into two structures viz. The Head and the Body. The following are the most common tags that appear in any HTML document.

HTML This tag identifies the document as an HTML document.

HEAD This tag identifies the starting and ending of the Header Section.

TITLE This tag places the title bar text in the Web browser.

COMMENT This tag is used to include comment entries in the HTML document.

BODY This tag identifies the main portion of the Web page.

Every tag is enclosed in a pair of angle brackets. The opening tag begins with a left angle bracket (<) followed by the tag name, and then the right angle bracket (>). Closing tags are just like opening tags except that the tag name starts with a slash (/).

Tags are of two types. Empty tags and non-empty tags.

Empty tags are those which need not be closed. Non empty tags are those, which has to be closed.

For example, <title> is a non-empty tag, which means that it has to be closed with <title>, Some tags like <P>, used for Paragraph break need not be closed. Such tags are called as empty tags.

Now let us create the simplest form of a HTML document. The following code is used to display the title on the Web browser's Title bar.

<html>
<head>
<title>Welcome to Internet</title>
</head>
</html>



Domain Name Search

www.


Copyright (C) 2007. Web Domain design hosting. All rights reserved.