BB Codes

  • [B], [I], [U], [S] - Bold, Italics, Underline, and Strike-through

    Makes the wrapped text bold, italic, underlined, or struck-through.

    Example:
    This is [B]bold[/B] text.
    This is [I]italic[/I] text.
    This is [U]underlined[/U] text.
    This is [S]struck-through[/S] text.
    Output:
    This is bold text.
    This is italic text.
    This is underlined text.
    This is struck-through text.
  • [COLOR=color], [FONT=name], [SIZE=size] - Text Color, Font, and Size

    Changes the color, font, or size of the wrapped text.

    Example:
    This is [COLOR=red]red[/COLOR] and [COLOR=#0000cc]blue[/COLOR] text.
    This is [FONT=Courier New]Courier New[/FONT] text.
    This is [SIZE=1]small[/SIZE] and [SIZE=7]big[/SIZE] text.
    Output:
    This is red and blue text.
    This is Courier New text.
    This is small and big text.
  • [URL], [EMAIL] - Linking

    Creates a link using the wrapped text as the target.

    Example:
    [URL]http://www.example.com[/URL]
    [EMAIL]example@example.com[/EMAIL]
    Output:
    http://www.example.com
    example@example.com
  • [URL=link], [EMAIL=address] - Linking (Advanced)

    Links the wrapped text to the specified web page or email address.

    Example:
    [URL=http://www.example.com]Go to example.com[/URL]
    [EMAIL=example@example.com]Email me[/EMAIL]
    Output:
    Go to example.com
    Email me
  • [USER=ID] - Profile Linking

    Links to a user's profile. This is generally inserted automatically when tagging a user.

    Example:
    [USER=1]User Name[/USER]
    Output:
    User Name
  • [IMG] - Image

    Display an image, using the wrapped text as the URL.

    Example:
    [IMG]http://www.ozcaldina.com/​styles/default​/xenforo/avatars/avatar_s.png[/IMG]
    Output:
    [​IMG]
  • [MEDIA=site] - Embedded Media

    Embeds media from approved sites into your message. It is recommended that you use the media button in the editor tool bar. Approved sites: Dailymotion; Facebook; Liveleak; Metacafe; Vimeo; YouTube;

    Example:
    [MEDIA=youtube]oHg5SJYRHA0[/MEDIA]
    Output:
    An embedded YouTube player would appear here.
  • [LIST] - Lists

    Displays a bulleted or numbered list.

    Example:
    [LIST]
    [*]Bullet 1
    [*]Bullet 2
    [/LIST]
    [LIST=1]
    [*]Entry 1
    [*]Entry 2
    [/LIST]
    Output:
    • Bullet 1
    • Bullet 2
    1. Entry 1
    2. Entry 2
  • [LEFT], [CENTER], [RIGHT] - Text Alignment

    Changes the alignment of the wrapped text.

    Example:
    [LEFT]Left-aligned[/LEFT]
    [CENTER]Center-aligned[/CENTER]
    [RIGHT]Right-aligned[/RIGHT]
    Output:
    Left-aligned​
    Center-aligned​
    Right-aligned​
  • [QUOTE] - Quoted Text

    Displays text that has been quoted from another source. You may also attribute the name of the source.

    Example:
    [QUOTE]Quoted text[/QUOTE]
    [QUOTE=A person]Something they said[/QUOTE]
    Output:
  • [CODE], [PHP], [HTML] - Programming Code Display

    Displays text in one of several programming languages, highlighting the syntax where possible.

    Example:
    [CODE]General
    code[/CODE]
    [PHP]echo $hello . 'world';[/PHP]
    Output:
    Code:
    General
    code
    PHP:
    echo $hello 'world';
  • [INDENT] - Text Indent

    Indents the wrapped text. This can be nested for larger indentings.

    Example:
    Regular text
    [INDENT]Indented text
    [INDENT]More indented[/INDENT]
    [/INDENT]
    Output:
    Regular text
    Indented text
    More indented​
  • [PLAIN] - Plain Text

    Disables BB code translation on the wrapped text.

    Example:
    [PLAIN]This is not [B]bold[/B] text.[/PLAIN]
    Output:
    This is not [B]bold[/B] text.
  • [ATTACH] - Attachment Insertion

    Inserts an attachment at the specified point. If the attachment is an image, a thumbnail or full size version will be inserted. This will generally be inserted by clicking the appropriate button.

    Example:
    Thumbnail: [ATTACH]123[/ATTACH]
    Full Size: [ATTACH=full]123[/ATTACH]
    Output:
    The contents of the attachments would appear here.
  • [BG=option] - Background Colour

    Changes the background colour of the wrapped text.

    Example:
    [BG=#FFFFFF]This is a white background.[/BG]
    [BG=white]This is a white background.[/BG]
    Output:
    This is a white background.
    This is a white background.
  • [BOX=option] - Scrolling Box

    Inserts a scrolling box with a user definable height.

    Example:
    [BOX=50]This is a scrolling box. Content will stay within the confines of this box and a vertical scroll bar will be present once the content exceeds the user defined height.[/BOX]
    Output:
    This is a scrolling box. Content will stay within the confines of this box and a vertical scroll bar will be present once the content exceeds the user defined height.
  • [CONTAINER] - Container

    A container which will automatically scroll if the content is wider than the page

    Example:
    [CONTAINER]This is a container. A horizontal scroll bar will be present once the content exceeds the page width.[/CONTAINER]
    Output:
    This is a container. A horizontal scroll bar will be present once the content exceeds the page width.
  • [FLOAT=option] - Float

    Allows the use of a floating div. Option is either left, right, center.

    Example:
    [float="right"]Floating Right![/float]
    Output:
    Floating Right!
  • [H2] - H2

    Adds a H2 tag around the contained text.

    Example:
    [h2]Header Tag[/h2]
    Output:

    Header Tag

  • [HR] - Horizontal Rule

    Adds a bar across the post.

    Example:
    [hr]
    Output:
  • [PANEL] - Panel

    Inserts a panel with a grey background.

    Example:
    [PANEL]This is a panel with a grey background.[/PANEL]
    Output:
    This is a panel with a grey background.
  • [PRE] - Preserved Formatting

    A fixed-pitch font with preserved spaces and line breaks, useful for tabulated columns.

    Example:
    [PRE]Column 1 Column 2 Column 3
    Cell 1 Cell 2 Cell 3[/PRE]
    Output:
    Column 1	Column 2	Column 3
    Cell 1 Cell 2 Cell 3
  • [STRIKE] - Strikethough

    Puts a line through text.

    Example:
    [strike]Text to strike out[/strike]
    Output:
    Text to strike out
  • [SUB] - Subscript Text

    Small text below the normal line of type.

    Example:
    [SUB]This is subscript text.[/SUB] This is normal text.
    Output:
    This is subscript text. This is normal text.
  • [SUP] - Superscript Text

    Small text above the normal line of type.

    Example:
    [SUP]This is superscript text.[/SUP] This is normal text.
    Output:
    This is superscript text. This is normal text.
  • [TABLE] - Table

    Inserts a table.

    Example:
    [TABLE][TR][TD]This is a standard cell in a table.[/TD][/TR][/TABLE]
    Output:
    This is a standard cell in a table.
  • [TD] - Table Cell (Left)

    Inserts a cell with left aligned text.

    Example:
    [TABLE][TR][TD]This is a left aligned (standard) cell.[/TD][/TR][/TABLE]
    Output:
    This is a left aligned (standard) cell.
  • [TD1] - Table Cell (Centred)

    Inserts a cell with centre aligned text.

    Example:
    [TABLE][TR][TD1]This is a centre aligned cell.[/TD1][/TR][/TABLE]
    Output:
    This is a centre aligned cell.
  • [TD2] - Table Cell (Right)

    Inserts a cell with right aligned text.

    Example:
    [TABLE][TR][TD2]This is a right aligned cell.[/TD2][/TR][/TABLE]
    Output:
    This is a right aligned cell.
  • [TH] - Table Cell (Header)

    Inserts a header cell with bold, centre aligned text and a green background.

    Example:
    [TABLE][TR][TH]This is a header cell.[/TH][/TR][/TABLE]
    Output:
    This is a header cell.
  • [TR] - Table Row (Transparent)

    Inserts a row with a transparent background.

    Example:
    [TABLE][TR][TD]This is a standard cell in a row with a transparent background.[/TD][/TR][/TABLE]
    Output:
    This is a standard cell in a row with a transparent background.
  • [TR1] - Table Row (Odd)

    Inserts a row with a white background.

    Example:
    [TABLE][TR1][TD]This is a standard cell in a row with a white background.[/TD][/TR1][/TABLE]
    Output:
    This is a standard cell in a row with a white background.
  • [TR2] - Table Row (Even)

    Inserts a row with a grey background.

    Example:
    [TABLE][TR2][TD]This is a standard cell in a row with a grey background.[/TD][/TR2][/TABLE]
    Output:
    This is a standard cell in a row with a grey background.