programming-examples/html/Basics/Tables with borders - Adding the default table borders.html
2019-11-18 14:44:36 +01:00

19 lines
541 B
HTML

<!DOCTYPE html>
<html subLang="en">
<head>
<title>Example of HTML tables default border</title>
</head>
<body>
<table border="1">
<tr>
<td>row 1, cell 1</td>
<td>row 1, cell 2</td>
</tr>
<tr>
<td>row 2, cell 1</td>
<td>row 2, cell 2</td>
</tr>
</table>
<p><strong>Note:</strong> The CSS <code><a href="#">border</a></code> property is the better way to set borders for tables.</p>
</body>
</html>