Page 79 - C_GPT _V4 _class_6
P. 79
The <HEAD> Tag
The <head> tag defines the header area of your web page. The information inside the <head> tag is
used by the browser but is not displayed on the web page. It is a container tag used in pair as <head>
and </head>. Every web page coding must have its header tag.
The <TITLE> Tag
The <title> tag tells the web browser that text contained between <title> and </title> is the text that is
not part of the web page. It will be shown on the Title Bar of your web browser. The use of <title> tag is
not mandatory. If you do not want to give title to your web page, you can skip it. Your web browser will
show the file name and its path as the title of your web page.
The <BODY> Tag
The <body> tag specifies the main content of the web page. The text and other elements contained
between <body> and </body> tags are displayed on the web page It is a container tag.
CREATING AND SAVING AN HTML DOCUMENT
Let us start with the designing of the first web page by using the basic tags.
1 Open the Notepad and 2
write the HTML code. Click on File menu.
Click on Save, to open 3
Save As dialog box.
Choose the location
4 where you want to
save the file.
Enter name for the Click on Save
5 file as ‘First Web button to
Page.html’. 6
save the file.
Introduction to HTML5 & CSS3 77

