Clicky

Making a table with BBCode


This example shows how you can get a table rendered via bbcode using the [table], [tr], [td] and [th] tags.

To find out more about the bbcode tags used on this page, please go to the bbcode tags reference page.

The following bbcode:

[table]
[tr]
[th]Name[/th]
[th]Age[/th]
[/tr]
[tr]
[td]John[/td]
[td]65[/td]
[/tr]
[tr]
[td]Gitte[/td]
[td]40[/td]
[/tr]
[tr]
[td]Sussie[/td]
[td]19[/td]
[/tr]
[/table]

Yields this:

Name Age
John 65
Gitte 40
Sussie 19

 

 

Doesn’t work?

Remember that bbcode tags are implemented to varying degrees and that with many variations. None of this represents strict standards.