HTML Table Border
HTML Tutorial » HTML Table Border
The HTML border attribute specifies if a border should be displayed around the table cells or not.
Note: The border attribute of <table> is not supported in HTML5. Use CSS instead.
Syntax
<table border="value">
value = 0 No borders around the table cells
value = 1 Add borders around the table cells
HTML Table Border- examples
Example:
Example 1 HTML Table:
<!DOCTYPE html>
<html>
<head>
<title>HTML Table Border</title>
</head>
<body>
<table border="1">
<tr>
<th> title 1 </th>
<th> title 2 </th>
</tr>
<tr>
<td>line 2- column 1</td>
<td>line 2- column 2</td>
</tr>
<tr>
<td>line 3- column 1</td>
<td>line 3- column 2</td>
</tr>
<tr>
<td>line 4- column 1</td>
<td>line 4- column 2</td>
</tr>
</table>
</body>
</html>
Note: The border attribute of <table> is not supported in HTML5. Use CSS instead.
html table border
HTML Table Border - html tutorial
Online Editor
This tool makes it easy to create, adjust, and experiment with custom colors for the web.
HTML Templates

Magnews2 is a modern and creative free magazine and news website template that will help you kick off your online project in style.
CSS HTML Layout

Find here examples of creative and unique website layouts.
Free CSS HTML Menu

Find here examples of creative and unique website CSS HTML menu.