HTML (24)
Table Tag (ATTRIBUTE)
Border Attribute
The border of the Table is specified through this attribute.
The border attribute tells the table how large the borders should be.This is all relative in terms of pixels.
Example ↓↓↓↓↓
<html>
<head>
<title>My Page</title>
</head>
<body>
<table border="5">
<tr>
<td>data</td>
<td>data</td>
<td>data</td>
</tr>
<tr>
<td>new</td>
<td>new</td>
<td>new</td>
</tr>
</body>
</html
The border attribute tells the table how large the borders should be.This is all relative in terms of pixels.
Example ↓↓↓↓↓
<html>
<head>
<title>My Page</title>
</head>
<body>
<table border="5">
<tr>
<td>data</td>
<td>data</td>
<td>data</td>
</tr>
<tr>
<td>new</td>
<td>new</td>
<td>new</td>
</tr>
</body>
</html
Border color
This attribute is used to change the color of the borders.
Example ↓↓↓↓
<html>
<head>
<title>My Page</title>
</head>
<body>
<table border="5" bordercolor="red">
<tr>
<td>data</td>
<td>data</td>
<td>data</td>
</tr>
<tr>
<td>new</td>
<td>new</td>
<td>new</td>
</tr>
</body>
</html>
0 Comments