0

<td class="selected"></td> now when it is used??

html table tags

18th Jun 2018, 1:34 PM
Cosmic Skull
Cosmic Skull - avatar
2 Antworten
+ 1
What do you mean? By setting class on an element you can style that element with CSS .selected { border 1px solid black; } or use querySelector to target this element with JavaScript and do something with it. tdElem = querySelector('.selected') tdElem.innerHTML = "Hello!"
18th Jun 2018, 1:58 PM
damyco
damyco - avatar
0
that's similar to table data name
18th Jun 2018, 6:39 PM
Cosmic Skull
Cosmic Skull - avatar