BBCode Guide
BBCode Guide
Text Formatting
How to create bold, italic and underlined text
How to change the text colour or size
Can I combine formatting tags?

Quoting and outputting fixed-width text
Quoting text in replys
Outputting code

Generating lists
Creating an Un-ordered list
Creating an Ordered list

Creating Links
Linking to another site

Showing images in posts
Adding an image to a post

Text Formatting
How to create bold, italic, underlined and lined-through text
BBCode includes tags to allow you to quickly change the basic style of your text. This is achieved in the following ways:
  • bold text: [b]Hello[/b]

    will become Hello
  • underlined text: [u]Good Morning[/u]

    becomes Good Morning
  • italic text: [i]Great![/i]

    would give This is Great!
Back to top
How to change the text colour or size
To alter the color or size of your text the following tags can be used. Keep in mind that how the output appears will depend on the viewers browser and system:
  • [color=red]Hello![/color]

    or

    [color=#FF0000]Hello![/color]

    will both output Hello!
  • [size=1]SMALL[/size]

    will generally be SMALL

    or:

    [size=5]HUGE![/size]

    will be HUGE!
  • [font=courier]Courier[/font]

    will generally be Courier
Back to top
Can I combine formatting tags?
Yes, of course you can, for example to get someones attention you may write:

[size=5][color=red][b]LOOK AT ME![/b][/color][/size]

this would output LOOK AT ME!

We don't recommend you output lots of text that looks like this though! Remember it is up to you, the poster to ensure tags are closed correctly. For example the following is incorrect:

[b][u]This is wrong[/b][/u]

Back to top

Quoting and outputting fixed-width text
Quoting text in replys
  • [quote=Mr. Blobby]The text Mr. Blobby wrote would go here[/quote]

  • [quote]The text Mr. Blobby wrote would go here[/quote]

Back to top
Outputting code or fixed width data

[code]echo "This is some code";[/code]

All formatting used within [code][/code] tags is retained when you later view it.

Back to top

Generating lists
Creating an undordered list

[list]
[*]Red
[*]Blue
[*]Yellow
[/list]

This would generate the following list:
  • Red
  • Blue
  • Yellow
Creating an orderedlist

[list=1]
[*]Red
[*]Blue
[*]Yellow
[/list=1]

This would generate the following list:
  1. Red
  2. Blue
  3. Yellow
[list=a]
[*]Red
[*]Blue
[*]Yellow
[/list=a]

This would generate the following list:
  1. Red
  2. Blue
  3. Yellow

Back to top

Creating Links
Linking to another site
  • [url=http://www.webspell.at]Visit WebSPELL[/url]

    This would generate the following link, Visit WebSPELL

  • [url]http://www.webspell.at[/url]

    This would generate the following link, www.webspell.at
  • [email]no.one@domain.adr[/email]

    which will output no.one@domain.adr.

    [email=no.one@domain.adr]email me[/email]

    which will output email me

Back to top

Showing images in posts
Adding an image to a post

[img]http://cms.webspell.org/images/linkus/1.gif[/img]


As noted in the URL section above you can wrap an image in a [url][/url] tag if you wish, eg.

[url=http://www.webspell.org/][img]http://cms.webspell.org/images/linkus/1.gif[/img][/url]

would generate:



Back to top