Page 122 - C_GPT _V4 _class_7
P. 122
Using Color Property
The color property is used to specify the text colour.
For example: Hintbot
<style> Add title attribute (title = “title_name”) to
table, th, td the table cell to add tooltip.
{
border:2px;
border-style:solid;
border-color:green;
background-color:orange;
color:blue;
}
</style>
Attributes of the <TD> Tag
Following are the attributes used to present the cell or table data in more effective manner:
ROWSPAN: The ROWSPAN attribute applies when a cell is extended for more than one row, that is,
the cell spans for 2 or more rows instead of 1 as shown in below table.
Here, the cell “Sports” is taking a span of 3 rows and “Martial Arts” is taking a span of 2 rows. Example
for using ROWSPAN attribute is:
<TD ROWSPAN="3">
Category Types
Badminton
Sports Football
Basketball
Judo
Martial Arts
Karate
CodeGPT (Ver. 4.0)-VII
120

