Page 69 - TP-Play_V-2.0_Book-6
P. 69
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
HTML code in Notepad
</title>
</head>
<body>
Let's explore the wonderful world of HTML
</body>
</html>
Step 2 Click on File menu.
Step 3 Click on Save to open Save As dialog box.
Step 4 Choose the location where you want to save the file. In this case, Desktop is selected.
Step 5 Enter name for the file as ‘First Web Page.html’.
Step 6 Click on Save button to save the file.
Save As dialog box
File menu – Save option
Introduction to HTML5 and CSS3 69

