For HTML tables that present data, use subtle, consistent borders or row rules to help readers follow the grid—but do not rely on those visual edges to explain which cells are headers. Use semantic table markup, a clear caption, and a layout that stays readable when enlarged or viewed on a narrow screen. These guidelines concern web tables, not the physical edges of furniture.
Start with a clear, accessible table structure
Edges can make a table easier to scan, but they cannot tell assistive technology how its information is organized. Mark header cells with <th> and data cells with <td>. Where the relationship may not be obvious, use scope="col" or scope="row"; more complex tables may need explicit header associations using id and headers. See the W3C WAI Tables Tutorial for guidance on these relationships.
Use tables for data with meaningful row-and-column relationships, not for page layout. Include a concise <caption> that describes the table’s purpose so readers can identify it before navigating its cells.
Choose table edges that aid scanning
There is no universally required border pattern or thickness. An outer border can frame the table, while light, consistent row or column rules can help readers keep their place. Spacing can also distinguish cells without drawing a line around every one. Accessibility Standards Canada lists lines as one way to differentiate rows, columns, and other data elements; treat the particular styling as a design choice, not a prescribed standard. Its design guidance also supports using clear visual distinctions.
Do these 3 things before closing this tab:
1Fix the driver behind crashes, sound loss and screen glitches2Repair Windows errors before they cause bigger problems3Scan for outdated or missing drivers - takes under a minute#1 Best Overall
- Keep borders, rules, and spacing consistent across the table.
- Use enough contrast between text and its background for comfortable reading.
- Do not use color alone to communicate a category or distinction.
- Avoid heavy or excessive lines that compete with the information.
Visual styling should reinforce the table’s structure, not replace its semantic markup.
Keep the grid simple
Prefer a straightforward grid over nested tables or several layers of headings. If a table becomes difficult to follow, simplify it, divide it into smaller tables, or present the information as a list where that is clearer. The Home Office table guidance and Accessibility Standards Canada design guidance both emphasize clear, usable presentation.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Check enlargement and narrow screens
Test the table with text enlarged to 200% and with adjusted text spacing. The Home Office says text should remain usable without clipping, truncation, or being obscured. Also check small screens: if readers cannot follow the rows and columns, simplify the table or provide a more suitable alternative. Borders should help track the grid at these sizes, not squeeze its content or hide it.
Quick Recap
Best Value
Rank #4
Rank #3
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.




