Page 65 - PlugGPT_V2.0_C6_Flipbook
P. 65
The <HTML> Tag
The <HTML> tag tells the web browser that the text contained between <html> and </html> is
a web page and can be viewed using a web browser. Every web page coding must starts with the
<html> tag and ends with the </html> tag.
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 is not the 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’.
Introduction to HTML5 and CSS3 63

