Page 55 - Modular_V1.1_Flipbook
P. 55
C. Write ‘T’ for true and ‘F’ for false.
1. The <TR> tag is used to create cells in the table. ..........................
2. The VALIGN attribute of the <TD> tag is used to align the
position of text in the cell vertically. ..........................
3. BORDERCOLOR attribute is used to give color to the border of the table. ..........................
4. <CAPTION> tag is used for defining the title of the table. ..........................
D. Short answer type questions.
1. What is a table?
2. What is the use of VALIGN attribute?
3. What do you mean by <TR> tag?
E. Long answer type questions.
1. Define any four attributes of the <TABLE> tag.
2. Differentiate between ROWSPAN and COLSPAN attributes.
3. What do you mean by <TD> tag? Explain any two attributes of <TD> tag.
Subject Enrichment
In the lab
Create this table in HTML.
Marks in
Roll No. Name of Student Total
English Maths Science
1 Suman 84 96 81 271
2 Aryan 68 94 89 251
3 Rahul 71 83 73 227
4 Sachin 55 65 86 206
5 Surabhi 61 92 75 228
Write a HTML code to obtain the following output:
Discuss how to create a table using various HTML tags.
Tables in HTML 53

