MENU

Chapter 7 Working with Tables in HTML Solutions

Question - 1 : -
Name the tags which are used with tag.

Answer - 1 : -

,
, and
tags are used with tag.

Question - 2 : -
Describe the border attribute of
tag.

Answer - 2 : - The border attribute is used to define- the thickness of the border, which surrounds the table.

Question - 3 : -
Why bordercolor attribute is used?

Answer - 3 : - The bordercolor attribute is used to specify the color of the table’s border

Question - 4 : -
Name any two values specified in frame attribute.

Answer - 4 : - The values that can be specified for frame attribute are void and above.

Question - 5 : -
Name two table attributes, which are used to set spacing in and between table cells.

Answer - 5 : - The cellspacing and cellpadding are the attributes, which are used to set spacing in and between the table celts.

Question - 6 : -
What is the use of align attribute in < table > tag?

Answer - 6 : - The align attribute defines the center, right or left alignment of the tag.

Question - 7 : - Why valign attribute is used?

Answer - 7 : -

The valign attribute is used with
tag which helps to align data in a single cell if the cell span in more than one row.

Question - 8 : -
With which tag) align attribute is used?

Answer - 8 : -

The align attribute is used with both
tag and tag.

Question - 9 : -
Which tag is used for giving heading to the columns?

Answer - 9 : - The

, and

×
tag is used to display the table heading only once for a table column.

Question - 10 : -
Which tags divide HTML tables in multiple section?

Answer - 10 : -