Page 52 - CA 165 ver 1.0 Class 10
P. 52
<HEAD> Tag
The next section is opened with the <HEAD> tag and closes with </HEAD> tag. Information belonging
to the head section is written in between these two tags.
The head of an HTML document specifies information about the document. This section contains the
‘Title’ tag inside it. The ‘Head’ tag is written inside the <HTML> section. Syntax of the <HEAD> tag is as
follows:
<HTML>
<HEAD>
.............
</HEAD>
</HTML>
<TITLE> Tag
This is defined within the <HEAD> tag. It displays the title of the web page on the Title bar. Its output
does not appear in the body of the web page. Title tag is not mandatory to use in an HTML document. If
it is not included in an HTML document, the word ‘Untitled’ will appear in the (Browser’s) Title bar. Syntax
of the <TITLE> tag is as follows:
<HTML>
<HEAD>
<TITLE> The text typed here is displayed on the title bar of the browser.
</TITLE>
</HEAD>
</HTML>
<BODY> Tag
The BODY section (pair of <BODY> ... </BODY> tags) specifies the main contents of a document i.e., the
contents (text and image) of the document used to be displayed in the web pages, are composed within
this tag. Text matter, images and links to other web pages are also added within the body section. The
BODY tag starts immediately after closing the <HEAD> tag. Both (HEAD and BODY) the tags are written
within HTML tag. Syntax of the <BODY> tag is as follows:
<HTML>
<HEAD>
<TITLE> The text written here is displayed on the title bar of the browser.
</TITLE>
</HEAD>
<BODY>
.............
............. The contents composed here are displayed in the document.
.............
.............
</BODY>
</HTML>
50 Touchpad Computer Applications-X

