Html is no longer supported but since tables are quite useful (like
here and
there), I have made them available in BBcode. The the syntax is a little different but I have tried to keep it as close as possible to html.
Available (custom) BBCodes and usage:
Code:
HTML: <div align=TEXT>text</div>
BBCode Equivalent: [align=TEXT]text[/align]
Usage: Align text left, right or center
Example: [align=center]text[/align], [align=left]text[/align], [align=right]text[/align]
HTML: <center>text</center>
BBCode Equivalent: [center]text[center]
Usage: Align text to the center
Example: [center]text[/center]
HTML: <embed src="URL" width="200" height="50">
BBCode Equivalent: [embed]URL[/embed]
Usage: Play music such as midi, MP3, wav. The size of the playbox is pre-defined.
Example: [embed]http://www.server.com/music.mp3[/embed]
HTML: <hr width="NUMBER%">
BBCode Equivalent: [hr]NUMBER[/hr]
Usage: Inserts a horizontal rule (line) into a post
Example: [hr]50[/hr] is equivalent to <hr width=50%>, [hr]75[/hr] is equivalent to <hr width=75%>
HTML: <div style="text-align: justify">text</div>
BBCode Equivalent: [justify]text[/justify]
Usage: Justified text
Example: [justify]text[/justify]
HTML: <span style="font-family: 'FONT-NAME', serif">text</span>
BBCode Equivalent: [font=FONT-NAME]text[/font]
Usage: Change font
Example: [font=courier new]text[/font]
HTML: <span style="text-decoration: line-through;">text</span> alternatively <strike>text</strike>
BBCode Equivalent: [strike]text[/strike]
Usage: Strike text
Example: [strike]text[/strike]
HTML: <span style="vertical-align: super;">text</span> alternatively <sup>text</sup>
BBCode Equivalent: [sup]text[/sup]
Usage: Superscript
Example: 2x10[sup]5[/sup]
HTML: <span style="vertical-align: sub;">text</span> alternatively <sub>text</sub>
BBCode Equivalent: [sub]text[/sub]
Usage: Subscript
Example: H[sub]2[/sub]O
HTML: <span style="background-color:COLOR">text</span> alternatively <font style="background-color: COLOR;">text</font>
BBCode Equivalent: [highlite=COLOR]text[/highlite]
Usage: Highlight text
Example: [highlite=Yellow]text[/highlite]
And to answer your question on how to use tables:
(Note: in html the table will appears fine even if you don't close all the tags but in BBcode, an unclosed tag will make the table to not appears at all):
Code:
HTML: <table> or <table width=NUMBER%> or <table width=NUMBER>
BBCode Equivalent: [table] or [table=NUMBER%] or [table=NUMBER]
Usage: Same as html, you need to close the tag. These are the only variants, you can't set the border at this moment. NUMBER is the width of the table either in percent or in pixels.
HTML: <tr>
BBCode Equivalent: [tr]
Usage: Same as html, you need to close the tag.
HTML: <td> or <td width=NUMBER> or <td width=NUMBER%>
BBCode Equivalent: [td] or [td=NUMBER]or [td=NUMBER%]
Usage: Same as html, you need to close the tag. NUMBER is the width of the column either in percent or in pixels.
Example:
HTML: <table width="100%"><tr><td width="50%">column 1, line 1</td><td width="50%">column 2, line 1</td></tr><tr><td>column 1, line 2</td><td>column 2, line 2</td></tr></table>
BBcode: [table=100%][tr][td=50%]column 1, line 1[/td][td=50%]column 2, line 1[/td][/tr][tr][td]column 1, line 2[/td][td]column 2, line 2[/td][/tr][/table]