HTML Table Row
From w3cyberlearnings
Contents |
HTML Table Row
Define Table row by using CSS.
Example 1 TRY-IT
This CSS uses to assign to the table row.
<style> .cblue { background-color:blue; } .cred { background-color:red; } </style>
Example 2 TRY-IT
<style> th { background-color: green; color:white; } .cblue { background-color:blue; } .cred { background-color:red; } </style>
Example 3 TRY-IT
Underline the table header.
<style> th,td { padding:8px; } .underline { border-bottom-color: #00F; border-bottom-style: solid; border-bottom-width: 2px; } </style>
Related Link
Table
- HTML - Table
- HTML - Table Border
- HTML - Table Column
- HTML - Table Row
- HTML - Table Color
- HTML - Table Cell Spacing and Padding
- HTML - Text Align
- HTML - Text Vertical Align
- HTML - Table Caption and Summary
- HTML - Table thead, tbody, tfoot
- HTML - Inner Table
- HTML - Table Vertical Line
- HTML - Table Horizontal Line