1501
Testing. 1, 2, 3... / Using multiple YABB tags
« on: August 19, 2003, 05:57:07 PM »
Adding a single YABB tag to text or image is pretty easy (I hope you've all tried it in your posts!), but it gets a bit more involved when you want to apply more than one effect to the same text or image. To add more effects, you need to add more tags to the existing tag, which is referred to as nesting tags.
For example, if you have text you want to italicize, you would wrap your text with an italics tag, like this:
But let's say you also want to bold and underline that same text. To get those additional effects you'd add more tags:
The opening tags could have been entered in any order, but the closing tags were added in the exact opposite order, like this:
Overlapping tags is never a good idea; they can confuse your browser and produce undesirable results in your posts. Here's an example of overlapped tags:
So for the best results, the rule of thumb is to close your tags in the opposite order you opened them. And on behalf of all the mods, thank you!
For example, if you have text you want to italicize, you would wrap your text with an italics tag, like this:
Code: [Select]
[i]TEXT[/i]
But let's say you also want to bold and underline that same text. To get those additional effects you'd add more tags:
Code: [Select]
[i][b][u]TEXT[/u][/b][/i]
The opening tags could have been entered in any order, but the closing tags were added in the exact opposite order, like this:
Code: [Select]
[tag1][tag2][tag3]TEXT[/tag3][/tag2][/tag1]
Overlapping tags is never a good idea; they can confuse your browser and produce undesirable results in your posts. Here's an example of overlapped tags:
Code: [Select]
[i][b][u]TEXT[/b][/i][/u]
So for the best results, the rule of thumb is to close your tags in the opposite order you opened them. And on behalf of all the mods, thank you!
