Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Table cell
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Colspan and rowspan=== Every row must have the same number of table data cells, occasionally table data cells have to span more than one column or row. In this case the tags colspan and/or rowspan are used - where they are set to a number. {| width="80%" align="center" style="font-variant:small-caps" |- | style="background:var(--background-color-inverted, black)" width="5%"|<br/> | style="background:var(--background-color-inverted, black)" width="5%"|<br/> | style="background:var(--background-color-inverted, black)" width="5%"|<br/> | border="none"|<-- ''This row has three'' '''table data cells''' |- | colspan="2" style="background:var(--background-color-progressive, blue);"|<br/> | style="background:var(--background-color-inverted, black)"|<br/> | border="none"|<-- ''This row has two. The first uses'' '''<code>colspan="2"</code>''' |- | rowspan="2" style="background:var(--background-color-destructive, red)"|<br/> | style="background:var(--background-color-inverted, black)"|<br/> | style="background:var(--background-color-inverted, black)"|<br/> | border="none"|<-- ''This row has three table data cells, but one spans two rows because it uses'' '''<code>rowspan="2"</code>''' |- | style="background:var(--background-color-inverted, black)"|<br/> | style="background:var(--background-color-inverted, black)"|<br/> | border="none"|<-- ''This row has only two table data cells, because its first is being taken up |}
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)