Author Topic: SMF BBCode basics  (Read 859 times)

0 Members and 1 Guest are viewing this topic.

Offline Midnite

  • Exec Moderator /
  • Administrator
  • SENIOR ASCENDANT
  • *****
  • Posts: 10716
  • Karma: +717/-4899
  • Gender: Female
    • View Profile
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:
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.  [ghost_happy]

Offline Midnite

  • Exec Moderator /
  • Administrator
  • SENIOR ASCENDANT
  • *****
  • Posts: 10716
  • Karma: +717/-4899
  • Gender: Female
    • View Profile
Re: SMF BBCode basics
« Reply #1 on: October 02, 2008, 03:59:16 PM »
To be even clearer, tags are used in pairs.  For each and every one of these:
Code: [Select]
[COLOR]there should also be one of these:
Code: [Select]
[/COLOR]