Recent

6/recent/ticker-posts

HTML (24)

HTML (24)

Ryzen™ Powered Computers | Desktops and Laptops | AMD


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

 
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>


Post a Comment

0 Comments