Horje

How to set Default CSS Settings on HTML <tr> Tag

Most browsers will display the <tr> element with the following default values.

index.html
Example: HTML
<style>
tr {
  display: table-row;
  vertical-align: inherit;
  border-color: inherit;
}
</style>
 <table>
  <tr>
    <th>Month</th>
    <th>Savings</th>
  </tr>
  <tr>
    <td>January</td>
    <td>$100</td>
  </tr>
  <tr>
    <td>February</td>
    <td>$80</td>
  </tr>
</table> 





Type:
html
Category:
Web Tutorial
Sub Category:
HTML Tag
Uploaded by:
Admin