Wikipedia:Table dos and don'ts

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Tables are a great way to present data.
When you work with tables:
Green check.png Use wikitables, not HTML tables.
Green check.png Use class="wikitable" 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 style.
Green check.png Make columns sortable as appropriate.
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

Retrieved from ""
This content was retrieved from Wikipedia :'ts
This page is based on the copyrighted Wikipedia article "Wikipedia:Table dos and don'ts"; it is used under the Creative Commons Attribution-ShareAlike 3.0 Unported License (CC-BY-SA). You may redistribute it, verbatim or modified, providing that you comply with the terms of the CC-BY-SA