write the syntax to change the table border size
Answers
GEEKSFORGEEKS :
HTML | <table> border Attribute
The HTML <table> border Attribute is used to specify the border of a table. It sets the border around the table cells.
SYNTAX :
<table border="1|0">
Attribute Values:
• 1: It sets the border around the table cells.
• 0: It removes (not set) the border around the table cells.
Example:
<!DOCTYPE html>
<html>
<head>
<title>
HTML table border Attribute
</title>
</head>
<body>
<h1>GeeksforGeeks</h1>
<h2>HTML table border Attribute</h2>
<table border="1">
<caption>Author Details</caption>
<tr>
<th>NAME</th>
<th>AGE</th>
<th>BRANCH</th>
</tr>
<tr>
<td>BITTU</td>
<td>22</td>
<td>CSE</td>
</tr>
<tr>
<td>RAM</td>
<td>21</td>
<td>ECE</td>
</tr>
</table>
</body>
</html>