LIST
List types are
1. unordered list
2. ordered list
3. descriptive list.
Unordered list :- An unordered list contains item along with a symbol. This symbol is also called a bullet. To create an unordered list in HTML, the <ul> tag and </ul> tag pair is used. The items of the list are enclosed within the <li> and </ li> tag pair. If you want to change the bullets, you can use an attribute called type.
Descriptive list. :- Description list using tag pairs <dl> and </dl>, Here 'dl' is an abbreviated form of the word description list. We need to define description terms using <dt> and </dt>.
Ordered list :- An ordered list contains items along with numbers or alphabets instead of bullets. To create an ordered list in HTML, the <ol> tag and </ol> .As usual, the items of the list are enclosed within the <li> and </li> tag pair.
Table tag
A table contains information separated in form of grids. To create table in HTML <table> and </table> tags are used. Within the <table> and </table> tags, we may use attributes such as caption (title) of the table, table border, table rows and columns. table is formed by rows and columns. A row in a table is defined by <tr>, row tag. The first row of a table is heading row, which is denoted by the <th>, table heading tag. Entries of remaining rows are entered using <td> tag.
Table tag and its Attribute
Align
This attribute indicates alignment of table.
Bgcolor
This attribute specifies background of the table.
Border
This attribute specifies table border.
Cellpadding
This attribute leaves specified gap between edges of the cells and their content .
Cellspacing
This attribute manages space between each cell of the table
Dir
This attribute specifies the direction of the text that is displayed in the table.
Frame
This attribute controls the outermost border of the table.
Rules
This attribute controls the presentation of inner border of the table.
Summary
This attribute presents description of the table.
Width
This attribute specifies the width of the table.
Multiple choice Question
(1) Which of the following is specified by <ul> in HTML?
(a) Simple list (b) Ordered list (c) Unordered list (d) Simple table
(2) Which of the following is specified by <ol> in HTML?
(a) Simple list (b) Ordered list (c) Unordered list (d) Simple table
(3) Which of the following tag pairs identifies items of lists?
(a) <li> and </li> (b) <items> and </items> (c) <object> and </object> (d) <table> and </table>
(4) Which of the following tag pairs are used to print list without bullets ?
(a) <ol> and </ol> (b) <ul> and </ul> (c) <dt> and </dt> (d) <pt> and <pt>
(5) Which of the following tag pairs are used to define a row of a table ?
(a) <tr> and </tr> (b) <td> and </td> (c) <col> and </col> (d) <row> and </row>
(6) Which of the following attribute is used when a cell spans across more than one row ?
(a) Colspan (b) Rowspan (c) Span (d) Scope
(7) Which of the following is used to divide browser window into multiple parts ?
(a) Frameset (b) Elements (c) Layout (d) Design
(8)Which of the following is used to display an alternative content, in case browser does not support frames ?
(a) Noframe (b) Yesframe (c) Falseframe (d) Truefarme
(9) Which of the following can be changed in an ordered list in HTML ?
(a) Order of the items (b) Start number (c) Number style (d) All of these
(10) Which of the following is an optional entity in an HTML table ?
(a) Caption of the table (b) Heading of the table (c) Grouping of columns of the table (d) All of these
Link to Download Chapter .......
Link to download :- Class 10th Chapter - 4 List and Table in Html
Link to download :- Class 10th Chapter - 4 List and Table in Html