Most browsers will display the
<table>
element with the following default values.
Example:
HTML
<!DOCTYPE html>
<html>
<head>
<style>
table { display: table; border-collapse: separate; border-spacing: 2px; border-color: gray;
}
</style>
</head>
<body>
<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>
</body>
</html>
Type
: |
html |
Category
: |
Web Tutorial |
Sub Category
: |
HTML Tag |
Uploaded by
: |
Admin |