wanweipedia

[Portal] Table dos and don'ts

Tables are a great way to present data.
When you work with tables:
DO:
Green check.png Use wikitables, not HTML tables.
Green check.png Use class="wikitable table-bordered table-striped " to apply standard style.
Green check.png Use short, self-explanatory captions and headers.
Green check.png Use CSS classes, not inline attributes, to set table style.
Green check.png Make columns sortable as appropriate.
DON'T:
Red x.svg Don't use tables for visual layout.
Red x.svg Don't use color alone to convey information.
Red x.svg Don't nest tables if avoidable.
Red x.svg Don't use scrolling tables in articles.
Red x.svg Don't split up sortable tables.

See also


This page was last updated at 2020-06-07 07:47, update this pageView original page

All information on this site, including but not limited to text, pictures, etc., are reproduced on Wikipedia (wikipedia.org), following the . Creative Commons Attribution-ShareAlike License


Top