freeCodeCamp/guide/english/html/attributes/table-border-attribute/index.md

11 lines
544 B
Markdown

---
title: Table Border Attribute
---
## Table Border Attribute
The `<table>` tag border attribute is a way to order a border to a HTML Table. The supported values are `0` (no border) and `1` (border). The border attribute is not supported in HTML 5 the latest version of HTML. It's recommended to use CSS to add a border to a table in HTML 5.
#### More Information:
* [MDN - HTML Attribute Reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes)
* [MDN - CSS Border](https://developer.mozilla.org/en-US/docs/Web/CSS/border)