D. Give an example for each of the following.
1. The type attribute of an unordered list
2 Attributes of the <td> tag
3. Attributes of the <table> tag
4. Tags used for creating tables
5. Empty tags
Answers
Explanation:
Dont know the first one
2nd-The HTML <td> element defines a cell of a table that contains data
3rd-The HTML <table> tag is used for defining a table. The table tag contains other tags that define the structure of the table.
4th
.
1. <tr> Tag
The <tr> tag is used to define a row in the HTML table.
we will start the row with the beginning by <TR> row tag and then build the row by creating each cell and when we finish all the cells for a row we will then close the row with the ending row tag </TR>.
Row tag : <TR> </TR>
2. <td> Tag
The <td> tag is used to define the data for the cell in the HTML table.
We will create each cell with the beginning cell tag <TD> and then add the content or data to the cell and then close the cell with the ending cell tag </TD>.
Cell tag : <TD> </TD>
3. <th> Tag
The <th> tag is used to define the header cell in an HTML table.
The header cell in the table is used to provide information for the remaining cells of the column.
Header tag : <TH> </TH>
Usually it is placed in the top of the cells.
4. <bgcolor> Tag
The <bgcolor> tag is used to specify the background color of the table.
For color name we can directly provide the color name for the background. For example, we can specify <table bgcolor =”Red”>
5. <caption> Tag
The <caption> tag is used to provide the caption to the table.
It is placed or used immediately after the <table>
6. Cell Spanning
Spanning is nothing but combining two or more adjacent cells in the table.
It consists of col span and row span.
Col span: The col span attribute specifies the number of columns a table cell should span.
<td col span = “number”>
It always takes an integer value.
Row span: The row span attribute specifies the number of rows a table cell should span.
<td row span = “number”>
It always takes an integer value.
7. <thead> Tag
The <thead> defines a set of rows defining the head of the columns of the table.
Syntax :
<thead></thead>
8. <tbody> Tag
The <tbody> tag is used to group the body content in the HTML table.
Tables can contain more than one body in some tables in the other case the table can contain only one body, in those cases, the <tbody> can be removed.
Tables with one body will have an implicit body.
Syntax :
<tbody> </tbody>
9. <tfoot> Tag
The <tfoot> tag contains rows that represent a footer or summary.
Syntax :
<tfoot> </tfoot>
10. <colgroup> Tag
The columns of the table can be grouped together with the <colgroup>
.
5th -empty tag : The tag which requires only opening not closing in an html document is basically termed as empty tag. for example- BR tag and HR tag
plzz mark aas brainliest
hope it helps
Answer:
the first one answer is disc, circle, square