Learn html - html tutorial - Border attribute in html - html examples - html programs
- The border attribute specifies the border of the table.
- The border is an integer attribute defines in pixel to display the border around the table.
Syntax for border attribute in HTML:
Differences between HTML 4.01 and HTML5 for border attribute:
HTML 4.01
- HTML4 support border attribute.
HTML 5
- HTML5 does not support border attribute.
Applies To:
Attribute Values:
Value |
Description |
0 |
No borders around the table cells. |
1 |
Add borders around the table cells. |
number |
To specify the size of the frame surrounding the table. |
Sample Coding for border Attribute in HTML:
Code Explanation for border Attribute in HTML:
- The border attribute is declare the border with value 2 for the table.
Output for border Attribute in HTML:
- The output displays the table with border in the HTML page.
Browser Support for border Attribute in HTML:
Related Searches to border Attribute in html
html border color
html border style
css border color
css border shadow
css border width
borders bookstore
css border length
html attributes
html tutorialshtml editor html code html form html tutorial html color html color codes html table html img html5 html code for website html and css html programs html website free html editor html5 tutorial wysiwyg html editor html tutorial pdf html converter php tutorial html example html tutorial css tutorial html css html tags html basics code html html online html mailto html lang html tags list