How to create a table

edit

There are two ways to build tables:

  • with the usual HTML elements: <table>, <tr>, <td> or <th>.
  • in special Wiki-markup:
    • to begin, we type:
{|
|}
    • we can have a caption, but its not needed
{|
|+ title
|}
    • each row begins with a |-
{|
|+ title
|-

|-
|}
    • time to create some cells.
{|
|+ title
|-
|Cell 1 || Cell 2 || Cell 3
|-
|Cell A 
|Cell B
|Cell C
|}
title
Cell 1 Cell 2 Cell 3
Cell A Cell B Cell C
    • but sometimes it looks much better with table boarders.
{|border="1"
|+ title
|-
|Cell 1 || Cell 2 || Cell 3
|-
|Cell A 
|Cell B
|Cell C
|}
title
Cell 1 Cell 2 Cell 3
Cell A Cell B Cell C
  • wiki markup allows us to create more complicated tabels, like this one below:
Column 1 Column 2 Column 3
A B
C D
E F
G
H