Page 65 - CA 165 ver 1.0 Class 10
P. 65
<HTML>
<HEAD>
<TITLE> Using CENTER </TITLE> Text appears in
</HEAD> Center Alignment
<BODY BGCOLOR= “lime”>|
<CENTER>
ORANGE EDUCATION
<CENTER>
</BODY>
</HTML>
ORANGE EDUCATION
Lab Assignment ‘n Activity Inter-Disciplinary
Complete the following activities and tick on the circle.
Write HTML code to generate a web page in the format and style as given below:
Title of the page should be “WORLD OF COMPUTER”.
Background colour should be “SILVER”.
Basefont face in the page should be “ARIAL”, colour should be “BLUE” and size should be “6”.
Text should be aligned to the “center”.
Write HTML code to design a web page with the following details:
Title of the page should be “MY LIFESTYLE”
All content should be ‘Times New Roman’, Font colour should be ‘Red’ and size should be ‘4’.
Entire text of the document should be ‘Center’ aligned.
Background color should be ‘Black’.
The <HR> Tag
This is an empty tag. It is used to add shaded horizontal lines across a web page. It is generally used to
separate two different items in a document. HR stands for ‘Horizontal Rule’.
The following attributes can be used along with this tag to organize its appearance:
SIZE NOSHADE WIDTH
ALIGN COLOR
<HTML>
<HEAD>
<TITLE> Using HR Tag </TITLE>
</HEAD>
<BODY BGCOLOR =“Yellow” Text =“Red”>
ORANGE EDUCATION
<HR>
A Complete I.T. Reference Book
</BODY>
</BODY>
</HTML>
ORANGE EDUCATION
Introduction to HTML 63

