3916
Testing. 1, 2, 3... / SMF BBCode basics
« on: September 30, 2008, 05:15:39 PM »
A review of using bulletin board code tags:
Formatting changes are made by using a pair of tags, each enclosed in square brackets. The closing or second tag begins with a /, similar to HTML tags. When the boundaries of the tags overlap (in other words, you wish to make more than one formatting change to the same text), you can nest the tags, but in order for them to work properly in SMF, the sets of pairs must appear in descending order; this, for example, is correct placement of nested tags:
This, however, is NOT correct:
Also NOT correct:
The Testing 1,2,3 board is here for you to practice or ask questions.
Formatting changes are made by using a pair of tags, each enclosed in square brackets. The closing or second tag begins with a /, similar to HTML tags. When the boundaries of the tags overlap (in other words, you wish to make more than one formatting change to the same text), you can nest the tags, but in order for them to work properly in SMF, the sets of pairs must appear in descending order; this, for example, is correct placement of nested tags:
Code: [Select]
[color=red][size=10pt]TEXT[/size][/color]
The ordering of the tags on each side of the text is a mirror image.This, however, is NOT correct:
Code: [Select]
[color=red][size=10pt]TEXT[/color][/size]
Also NOT correct:
Code: [Select]
[color=red][size=10pt]TEXT [color=yellow][size=15pt]TEXT[/size][/color]
because each tag does not have a corresponding closing tag.The Testing 1,2,3 board is here for you to practice or ask questions.