What is BBCODE?
BBCODE are special codes that you can use in forums and some chats to change the size of your font, color
of your font, bold or italisize text, insert images, and link to websites. BBCODE has similairity to html
codes, with its most distinct feature being all codes are enclosed with brackets [] rathar than greater and
lesser signs <>
Codes
| Bold Text |
[b]Hello World[/b] |
Hello World |
| Italisize Text |
[i]Hello World[/i] |
Hello World |
| Underline Text |
[u]Hello World[/u] |
Hello World |
| Color of Text |
[color=red]Hello World[/color] |
Hello World |
| Size of Text |
[size=18]Hello World[/size] |
Hello World |
| Link or URL |
[url]http://www.google.com[/url] |
http://www.google.com |
| Display Image |
[img]http://www.google.com/intl/en_ALL/images/logo.gif[/img] |
 |
If we want bold text then the "open" bbcode is [b] while the "close"
bbcode is [/b]. All "close" codes are the same as their open counterparts but with a forward
slash inserted before the code characters.
The order in which you open and close codes is important. The last code opened must be the
first code closed. For instance, if you want bolded, italicised text, then you would use
the bbcodes [b][i]Bold/Italic This[/i][/b]. Notice that the [i] code is the last opened and
the first closed. To reverse the codes would work just as well. If we used the open bbcodes
of [i][b] the same effect would be applied to the text, but you must make sure to now end
the bbcodes with [/b][/i].
Online BBCODE Test
Try out bbcode right now. Type in your test below, hit submit, and see the results
after the page reloads.