Wikipedia:Table dos and don'ts
{{information page|pages=Wikipedia:Manual of Style/Tables|shortcut=WP:TABDD|shortcut2=WP:TABLEDD}}
Tables are a great way to present data.
border="0" align="center"
|+ When you work with tables: |
valign="top"
| {| border="0" cellspacing="4" ! style="background:#efefef; font-size:larger;" |DO: |
File:Green_check.png Use wikitables, not HTML tables. |
File:Green_check.png Use class="wikitable" to apply standard style. |
File:Green_check.png Use short, self-explanatory captions and headers. |
File:Green_check.png Use CSS classes, not inline attributes, to set table style. |
File:Green_check.png Make columns sortable as appropriate. |
|
border="0" cellspacing="4"
! style="background:#efefef; font-size:larger;" | DON'T: |
30px Don't use tables for visual layout. |
30px Don't use color alone to convey information. |
30px Don't nest tables if avoidable. |
30px Don't use scrolling tables in articles. |
30px Don't split up sortable tables. |
|}
See also
{{Wikipedia dos and don'ts}}
{{DEFAULTSORT:Table Dos And Don'ts}}