which attribute used to add borders to a table
Answers
Answered by
2
Explanation:
border Attribute
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.
Answered by
2
Explanation:
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>
Similar questions