Page 19 - 2619_PlusGPT V2.1_C-7
P. 19
<p><font color = "blue"> HTML is a versatile tool for web designing.
</font></p>
</body>
</html>
The <CENTER> Tag
The ALIGN attribute is used to align the text to center. HTML also provides the <CENTER> tag which
allows us to align the text in center. The <CENTER> tag does not have any attribute. We can use the
<CENTER> tag in the following way:
<center> text to be align in center </center>
DESIGNING A WEB PAGE
You have now learnt some of the basic HTML tags. Let us now create the next web page by using
some of these tags. Type the following HTML code in the Notepad window and save the file with the name
Environment.html:
<html>
<head>
<title> Note on Environment </title>
</head>
<body bgcolor="yellow">
<h1>Web Page on Environment</h1>
<h2> Environment </h2>
Environment is everything that is around us. It can be living (biotic)
or non-living (abiotic) things. It includes physical, chemical and
other natural forces. Living things live in their environment. They
constantly interact with it and adapt themselves to the conditions in
their environment.
<h5> This web page has been created by </h5>
</body>
</html>
Locate your file in Windows Explorer and double-click on the file icon. The browser window will show
all the effects given in the HTML code for web page like this:
Web page
Introduction to HTML 17

