0% found this document useful (0 votes)
15 views3 pages

Class 8 PA 1 Worksheet 1

Worksheet to practice a suprise subject
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views3 pages

Class 8 PA 1 Worksheet 1

Worksheet to practice a suprise subject
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

CLASS 8 COMPUTER SCIENCE PA 1 PRACTICE SHEET + ANSWERS

Q1) Write the differences between <OL> and <UL>.


Ans.
Differences <OL> <UL>

1. Shows the texts / items as a list Shows the texts / items as a list
but with a prefixed sequence prefixed with bullets
(numbered/ alphabet / roman
numbered)
2. This tag has two attributes This tag has only one attribute
3. START attribute is unique to No such attribute
this tag

Q2) Which tag is used to introduce a text as a list item?

Ans. <LI> tag is used to introduce a text as a list item.


A List item is a text which appears on the next line prefixed either with sequenced order
(of numbers / alphabets / roman ) or with bullets or in sentences / paragraphs.

Q3) Write the HTML code lines to show a list of three students’ starting from VIII.

Ans. <OL Start = 8 TYPE = “ I ” >


<LI> student8 </li>
<LI> student9 </li>
<LI> student10</li>
</OL>

Q4) Write the HTML code lines to show the names of three English Authors in any order
prefixed with square bullets.

Ans. <UL TYPE = “SQUARE”>


<LI> author1 </li>
<LI> author2</li>
<LI> author3</li>
</UL>

Q5)Identify the error in the given HTML code lines by underlining them and write the
correct code.

a) <OL TYPE = A >


Ans. <OL TYPE = A >  Identification of Error
<OL TYPE = ‘A’ >  Correct Code Line

b) <OL > TYPE = ‘I’


Ans. <OL > TYPE = ‘I’  Identification of Error
CLASS 8 COMPUTER SCIENCE PA 1 PRACTICE SHEET + ANSWERS

<OL TYPE = ‘I’ >  Correct Code Line

c) <OL TYPE = ‘a’ START = ‘d’ >


Ans. < OL TYPE = ‘a’ START = ‘d’ >  Identification of Error
< OL TYPE = ‘a’ START = 4 >  Correct Code Line

Q6) What are the tags used to show a tabular structure (rows and columns filled with
data) in a web page?

Ans. The <TABLE > with the sub tags <TR> and <TD> will show a tabular structure in
the web page.

<TABLE> This tag is compulsory to <TABLE


use at the beginning BORDER=value>
<TR> Table Row <TABLE>
This tag is used every time <TR>
when a row is to be
introduced
<TD> Table Data <TABLE> <TABLE>
This tag is used to show the <TR> <TR>
values of cells of a row <TD>value 1 <TD>Study
Each cell value is enclosed </TD> </TD>
within the paired <TD> <TD>value <TD>Enjoy
2</TD> </TD>
</ TABLE>

Q7) Write the HTML code to show Day 1 Day 2 a row as -

Ans. <TABLE BORDER=5>


<TR>
<TD> Day 1 </TD>
<TD> Day 2 </TD>
</TR>
</TABLE>

Write the HTML program to

i. show a bulleted list of your choice introducing three favourite destinations’ name.

ii. show name of the students of your Class from Roll No 16 to 18 in Capital Roman
Numerals
CLASS 8 COMPUTER SCIENCE PA 1 PRACTICE SHEET + ANSWERS

Ans. <HTML>
<HEAD>
<TITLE>
</TITLE>
</HEAD>
<BODY>

(i) <UL TYPE = “CIRCLE”>


<LI> ANNDIES AND NICCOBIES </li>
<LI> LAKSHWADEEPS</li>
<LI> NORTHEN LIGHTS</li>
</UL>

(ii) <OL TYPE= “I” START = 16>


<LI> Student16</li>
<LI> Student17</li>
<LI> Student18</li>
</OL>
</BODY>
</HTML>

*******

You might also like