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:
|
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:
|
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
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:
[list=1] [*]Red [*]Blue [*]Yellow [/list=1] This would generate the following list:
[*]Red [*]Blue [*]Yellow [/list=a] This would generate the following list:
Back to top |
Creating Links |
Linking to another site
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 |