ASCENT INTERNATIONAL SCHOOL Worksheet
Class X
Subject COMPUTER
Topic HTML
Sub Topic TABLE
Q1. Write the HTML tag for the following jobs.
a) To define a table in html . __________________________
b) To give the title of the table. __________________________
c) To define the header cell of the table __________________________
d) To specify a row within a table __________________________
e) To define the data in cell of the table __________________________
Q2. Name the attribute with their respective tag for the following options.
a) To control the width of the table’s border ________________________________
b) To Change the background color of the cell to red _________________________
c) To set the space between table border and cells ___________________________
d) To set the space between the edge of the cell and its contents ________________
e) To use an image as the table’s background _______________________________
Q.3 Answer the following questions.
a) With the help of an illustration, explain the structure of table.
b) What are the<th> and <tr> tags used for?
c) How can you control the space around the border/cells of a table?
d) Differentiate between Cell padding and Cell spacing?
e) Differentiate between Rowspan attribute and Colspan attribute with example.
Page 1
ASCENT INTERNATIONAL SCHOOL Worksheet
Q4. Write the HTML Codes to produce following table layouts.
A B C D
E F G H
I J K
1 2 3
4 4
6 7 8 9
Page 2
ASCENT INTERNATIONAL SCHOOL Worksheet
Page 3