Page 20 - PlusGPT_V2.1_C7_Flipbook
P. 20
<p> This tag is used to define various properties of text. </p>
<p><b>For example: text face </b></p>
<p><font face = "Comic Sans MS"> HTML is a versatile tool for web
designing.</font></p>
<p>For example: text size</p>
<p><font size = "8"> HTML is a versatile tool for web designing.</font>
</p>
<p>For example: text colour</p>
<p><font color = "blue"> HTML is a versatile tool for web designing.
</font></p>
</body>
</html>
Using <FONT> tag
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>
18 Premium Edition-VII

