Page 17 - PlusGPT_V2.1_C7_Flipbook
P. 17
SIZE: It controls the height or the thickness of the horizontal ruler.
<hr size="4">
COLOR: It is used to apply the background color.
<hr color="pink">
ALIGN: It is used to align the horizontal ruler left, right and center.
<hr align="right">
Let’s CatCh uP Computational Thinking
Circle the incorrect codes:
1. <p align=”left”> Animation /p> 2. <hr width="550">
3. </title> Example of Paragraph<title> 4. <hr width="-80%">
The <PRE> Tag
The <PRE> tag displays the text in preformatted way which means, it displays a text in a format in
which you have written the text.
Let's create a web page by using the <PRE> tag:
<html>
<head>
<title>
Example of Preformatted text
</title>
</head>
<body>
Fruits Name
<pre>
Mango Using <PRE> tag
Apple
Banana
</pre>
</body>
</html>
The output of the preceding code is shown.
The <B> Tag
The Bold tag is written as <B>. This tag is used to give bold effect to your text. You need to tell the web
browser when to start using the bold effect and where to stop using the bold effect. It is a container
tag and used in pair as <B> and </B>.
Introduction to HTML 15

