Page 13 - PortGPT_V2.1_C7_Flipbook
P. 13
The <Head> Tag
The <Head> tag defines header area of your web page. The information given in <Head> tag tells the
computer that this information is not to be shown 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
does not form 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 file name and its path as title of your web page.
The <Body> Tag
The <BODY> tag tells the web browser that the text contained between <BODY> and </BODY> tags
is to be shown on the web page. It is a container tag.
CREATING AND SAVING AN HTML DOCUMENT
Let us start by designing the first web page using the basic tags.
Step 1: Open the Notepad and write the following HTML code:
<!DOCTYPE html>
<html>
<head>
<title> FIRST WEB PAGE </title>
</head>
<body>
Let's explore the wonderful world of HTML
</body>
</html>
HTML code in Notepad
Step 2: Click on File menu.
Introduction to HTML5 11

