Which code segment should you use?
A. table>tr{ font-weight: bold; }
B. table>th:last-child{ font-weight: bold; }
C. table+first-child{ font-weight: bold; }
D. table>tr>th:nth-child (2) { font-weight: bold; }
Answer:D
Which code segment should you use?
A. table>tr{ font-weight: bold; } B. table>th:last-child{ font-weight: bold; } C. table+first-child{ font-weight: bold; } D. table>tr>th:nth-child (2) { font-weight: bold; }