Line 7: | Line 7: | ||
<!--T:8--> | <!--T:8--> | ||
Note that the order in which the size tag is nested is important when it is paired with following text alignment tags center, left, right, and pre tags. For the size tag to change the font, it must be placed as follows: | Note that the order in which the size tag is nested is important when it is paired with following text alignment tags center, left, right, and pre tags. For the size tag to change the font, it must be placed as follows: | ||
Revision as of 20:24, 18 June 2013
Nesting BBCodes
The general format of a BBCode has three parts, an opening tag, the inside content and a closing tag, as shown below:
[open] text inside [/close] [b] bold text [/b]
Note that the order in which the size tag is nested is important when it is paired with following text alignment tags center, left, right, and pre tags. For the size tag to change the font, it must be placed as follows:
[center][size=36pt][b][u]text[/u][/b][/size][/center]
Nesting the size tags as per the example below will result in this tag not working.
[size=36pt][center][b][u]text[/u][/b][/center][/size]