0
What is use of class attribute in <td> tag?
<td class="selected">Play</td>
5 Respostas
+ 4
You can style it with CSS and do something cool with it with JavaScript.
+ 1
@John
Added class attribute to make the table data bold now. 😅
0
I used it to process all td's in this challenge solution.
https://code.sololearn.com/WK1Jvq3HBMyr/?ref=app
0
https://code.sololearn.com/W3bF4ALm9byW/?ref=app
- 1
Calvin, you aren't using a class attribute in your code.