Class 7 CH 6
Class 7 CH 6
S
webpage?
<Body>
N
___________________________________________________________________
2. Which is the smallest heading size?
IO
<h6>
___________________________________________________________________
3. Which attribute defines the thickness of the horizontal line?
Size
___________________________________________________________________
4.
AT
Which tag is used to display the text in italics?
<i>….</i>
___________________________________________________________________
IC
TUK Activity (Page No. 115)
Create a webpage with the following content in HTML.
Parts of a computer system
BL
Input Device:
= Keyboard
= Mouse
PU
Output Device:
= Monitor
= Printer
Memory:
K
<HTML>
<HEAD><TITLE> Parts of Computer </TITLE>
</HEAD>
<BODY>
Computer-7
<h1> <p align = "Center"> Parts of Computer System
</p> </h1>
<h2> <p align = "left"> Input Device </p> </h2>
<ul type = "circle">
<li> Keyboard </li>
<li> Mouse </li>
S
</ul>
<h2> <p align = "left"> Output device
N
</p></h2>
IO
<ul type = "circle" >
<li> Monitor </li>
<li> Printer </li>
</ul>
AT
<h2><p aling = "left"> Memory </p> </h2>
<ul type = "circle" >
IC
<li> RAM a temporary memory </li>
<li> ROM a permanent memory </li>
</ul>
BL
</BODY>
</HTML>
Exercises
PU
item name and another for defining the description of the item.
Computer-7
2. ________________ attribute of the <body> tag is used for setting
a background colour for the web page.
a) ✔ bgcolor
b) forecolor
c) background color
3. _________________ tags enclose the main contents of a web page.
S
a) <html> b) <head> c) ✔ <body>
4. The tag used for starting a new line is _____________.
N
a) ✔ <br> b) <nl> c) <l>
IO
(C) State whether these statements are True or False. Correct the
False statements also.
AT
1. The numbered list can be created using <ul> tag.
False. The numbered list can be created using <ol> tag.
___________________________________________________________________
2. The <HR> tag inserts a circle on a web page.
False. The <Hr> tag inserts a horizontal line on a web page.
___________________________________________________________________
IC
3. There are 5 levels of heading tags used for defining titles and
subtitles on a webpage.
False. There are 6 levels of heading tags used for defining
BL
___________________________________________________________________
titles and subtitles on a web page.
___________________________________________________________________
4. To bring text in the center of the web page, the tag used is <p
align ='middle'>.
PU
False. To bring text in the center of the web page, the tag
___________________________________________________________________
used is <p align=”center”>.
___________________________________________________________________
S
c. Ex. <ol type=”i”> c. Ex. <ul type=” ”>
<li>Bread</li> <li>Bread</li>
N
<li>Butter</li> <li>Butter</li>
</ol> </ul>
IO
d. Output d. Output
i Bread Bread
ii Butter Butter
3.
Ans. Heading Tags <hn>
AT
Explain heading tags along with examples.
Example:
<h1>This is the largest heading size</h1>
<h2>Second largest</h2>
PU
<h3>Third largest</h3>
<h4>Fourth largest</h4>
<h5>Fifth largest</h5>
<h6>Sixth largest</h6>
K
Computer-7
Syntax: <font face=”comic sans ms” color=”font
color”>
Example: <font face=”comic sans ms” color=”Red”>
iii. size is used to specify the font size for the text. The
font size is specified in numbers ranging from 1-7.
S
(E) Application based question
Kaira wants to create a webpage for her textbooks. Suggest the
N
HTML list tag she can use to get the desired result.
<ol>……… </ol> ordered list
_______________________________________________________________________
IO
AT
IC
BL
PU
K
TU
Computer-7