P̷̵̷̶̷̶͙͙͍͍͎͎͎͎͉͇͍̺̱̯̩̩̯ͥͥͧͩ͛ͭͭ͗ͦͭͧͥͦͮͨͭͪͧͥ͗͐͐͑͊̀͆͂̿̽̾͢͢͟͟͟͟

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
BB Code
Explanation
BB code is a set of tags based on the HTML language that you may already be familiar with. They allow you to add formatting to your messages in the same way as HTML does, but have a simpler syntax and will never break the layout of the pages you are viewing. The ability to use BB code is set on a forum-by-forum basis by the administrator, so you should check the forum rules when you post a new message.

Below is a list of the BB code tags you can use to format your messages.
BB Code List
Bold / Italic / Underline
, ,
Color
[color]
Size
[size]
Font
[font]
Highlight
[highlight]
Left / Right / Center
,
,
Indent

Email Linking

URL Hyperlinking
[url]
Thread Linking
[thread]
Post Linking
[post]
Bulleted Lists / Advanced Lists
[list]
Images
[img]
Videos
[video]
Code
[code]
PHP Code
[php]
HTML Code
[html]
Quote
[quote]
Stop BB Code Parsing
[noparse]
Attachment
[attach]
Named anchor link
[aname]
Article
[article]
Center
[center]
Edit
[edit]
PHP Function
[fphp]
PHP Function with option
[fphp]
Google Search
[google]
Anchor Link
[jumpto]
Left
[left]
Mention
[mention]
Insert an MP3 flash player
[mp3]
Off Topic
[ot]
Reference Site Link
[reference]
Right
[right]
Rule
[rule]
Strikethrough
[s]
Sample Code
[samp]
Small
[small]
Spoiler
[spoiler]
YouTube
[youtube]
Incorrect BB Code Usage:
[url] www.example.com [/url] - don't put spaces between the bracketed code and the text you are applying the code to.
[email]myname@domain.com[email] - the end brackets must include a forward slash (
)
Bold / Italic / Underline
The , and tags allow you to create text that is bold, italic and underlined.
value
value
value
Usage
this text is bold
this text is italic
this text is underlined
Example Usage
this text is bold
this text is italic
this text is underlined
Example Output
Color
The [color] tag allows you to change the color of your text.
value
Usage
this text is blue
Example Usage
this text is blue
Example Output
Size
The [size] tag allows you to change the size of your text.
[size=Option]value[/size]
Usage
[size= 2]this text is two sizes larger than normal[/size]
Example Usage
this text is two sizes larger than normal
Example Output
Font
The [font] tag allows you to change the font of your text.
value
Usage
this text is in the courier font
Example Usage
this text is in the courier font
Example Output
Left / Right / Center
The
,
and
tags allow you to change the alignment of your text.
value​
value

value​
Usage
this text is left-aligned​
this text is center-aligned

this text is right-aligned​
Example Usage
this text is left-aligned
this text is center-aligned
this text is right-aligned
Example Output
Indent
The
tag allows you to indent your text.
value​
Usage
this text is indented​
Example Usage
this text is indented
Example Output
Email Linking
The tag allows you to link to an email address. You can include an optional parameter to 'name' your link.
[email]value
value
Usage
j.doe@example.com
Click Here to Email Me
Example Usage
j.doe@example.com
Click Here to Email Me
Example Output
URL Hyperlinking
The tag allows you to link to other we...nal parameter to 'name' your link. [url]value
value
Usage
http://www.sitepoint.com/forums
SitePoint Forums
Example Usage
http://www.sitepoint.com/forums
SitePoint Forums
Example Output
Thread Linking
The [thread] tag allows you to link to threads by specifying the thread id. You can include an optional parameter to 'name' your link.
[thread]threadid[/thread]
[thread=threadid]value[/thread]
Usage
[thread]42918[/thread]
[thread=42918]Click Me![/thread]
(Note: The threadid/postid is just an example and may not link to a valid thread/post.)
Example Usage
http://www.sitepoint.com/forums/showthread.php?t=42918
Click Me!
Example Output
Post Linking
The [post] tag allows you to link to posts by specifying the post id. You can include an optional parameter to 'name' your link.
[post]postid[/post]
[post=postid]value[/post]
Usage
[post]269302[/post]
[post=269302]Click Me![/post]
(Note: The threadid/postid is just an example and may not link to a valid thread/post.)
Example Usage
http://www.sitepoint.com/forums/showthread.php?p=269302#post269302
Click Me!
Example Output
Bulleted Lists
The
  • tag allows you to create simple, bulleted lists without specifying an option. Within the value portion, each bullet is denoted by the
  • tag.
    • value
    Usage
    • list item 1
    • list item 2
    Example Usage
    list item 1
    list item 2
    Example Output
    Advanced Lists
    The
    • tag allows you to create advanced lists by specifying an option. The option should have a value of 1 (for a numbered list) or A (for an alphabetic with capital letters list) or a (for an alphabetic with lowercase letters list) or I (for a numbered with capital Roman numeral list) or i (for a numbered with small Roman numeral list).
      • value
      Usage
      1. list item 1
      2. list item 2
      • list item 1
      • list item 2
      • list item 1
      • list item 2
      Example Usage
      list item 1
      list item 2
      list item 1
      list item 2
      list item 1
      list item 2
      Example Output
      Images
      The tag allows you to embed images within your posts. You can also combine this tag with the [url] tag to make images become links.
      [img]value
      Usage
      forum_new-48.png
      (Not linked)
      (Linked)
      Example Usage
      (Not linked)
      (Linked)
      Example Output
      Videos
      The [video] tag allows you to embed videos from various video services within your posts.
      [video]value[/video]
      Usage
      [video=youtube;eOUq4Z6R7xI]http://www.youtube.com/watch?v=eOUq4Z6R7xI[/video]
      Example Usage

      Example Output
      Code
      The
      Code:
       tag switches to a fixed-width (monospace) font and preserves all spacing.
      [code]value
      Usage
      Code:
      <script type="text/javascript">
      <!--
          alert("Hello world!");
      //-->
      </script>
      Example Usage
      Code:
      <script type="text/javascript">
      <!--
      alert("Hello world!");
      //-->
      </script>
      Example Output
      PHP Code
      The
      PHP:
       tag performs the same function as the [code] tag, but also adds syntax highlighting for PHP code. Although it is designed for PHP, it may correctly highlight some other C-like languages.
      [php]value
      Usage
      PHP:
      $myvar = 'Hello World!';
      for ($i = 0; \$i < 10; \$i  )
      {
          echo $myvar . "\n";
      }
      Example Usage
      PHP Code:
      $myvar = 'Hello World!';
      for ($i = 0; $i < 10; $i )
      {
      echo $myvar . "\n";
      }
      Example Output
      HTML Code
      The
      HTML:
       tag allows you to perform syntax highlighting for HTML code.
      [html]value
      Usage
      HTML:
      <img src="image.gif" alt="image" />
      <a href="testing.html" target="_blank">Testing</a>
      Example Usage
      HTML Code:
      <img src="image.gif" alt="image" />
      <a href="testing.html" target="_blank">Testing</a>
      Example Output
      Quote
      The
      tag allows you to attribute text to someone else.
      User Name said:
      Usage
      Lorem ipsum dolor sit amet
      John Doe said:
      Lorem ipsum dolor sit amet
      John Doe;5678840 said:
      Lorem ipsum dolor sit amet
      Example Usage
      Lorem ipsum dolor sit amet
      Originally Posted by John Doe
      Lorem ipsum dolor sit amet
      Originally Posted by John Doe
      Lorem ipsum dolor sit amet
      Example Output
      Highlight
      The [highlight] tag allows you to emphasize your text.
      Usage
      [highlight]value[/highlight]
      Example Usage
      [highlight]this text is highlighted[/highlight]
      Example Output
      this text is highlighted
      Stop BB Code Parsing
      The [noparse] tag allows you to stop the parsing of BB code.
      [noparse]value[/noparse]
      Usage
      [noparse]Lorem ipsum dolor sit amet[/noparse]
      Example Usage
      Lorem ipsum dolor sit amet
      Example Output
      Attachment
      The
      Usage
      View attachment 12345
      Example Usage
      Example Output
      Named anchor link
      The [aname] tag is used in conjunction with the [jumpto] tag. One is not functional without the other.
      [aname=Option]value[/aname]
      Usage
      [aname=aname]This is where you jump to[/aname]
      Example Usage
      This is where you jump to
      Example Output
      Article
      Create a quick link to an article in the SitePoint library.
      [article=Option]value[/article]
      Usage
      [article=228]Kevin's PHP Tutorial[/article]
      Example Usage
      Kevin's PHP Tutorial
      Example Output
      Center
      Use this to center your text.
      value

      Usage
      Centered Text

      Example Usage
      Centered Text
      Example Output
      Edit
      If you have edited your post and you want to show what has been edited, use [edit] and [/edit]. Use of this is voluntary - it can be used in any way desired.
      [edit]value[/edit]
      Usage
      [edit]This is edited text[/edit]
      Example Usage
      Edit:

      This is edited text
      Example Output
      PHP Function
      Shows the corresponding page for the PHP function in the online PHP manual.
      [fphp]value[/fphp]
      Usage
      [fphp]date[/fphp]
      Example Usage
      date
      Example Output
      PHP Function with option
      PHP Function with the optional option.
      [fphp=Option]value[/fphp]
      Usage
      [fphp=date]this is the date() function[/fphp]
      Example Usage
      this is the date() function
      Example Output
      Google Search
      Easily link to a Google search term. This is equivalent to: SitePoint
      [google]value[/google]
      Usage
      [google]sitepoint[/google]
      Example Usage
      sitepoint
      Example Output
      Anchor Link
      The [jumpto] tag allows you to jump to another location within a post, usually used for long posts with headings and/or sections of interest. This tag must be used in conjunction with the [aname] tag. One is not functional without the other.
      [jumpto=Option]value[/jumpto]
      Usage
      [jumpto=aname]This takes you to a new location within a post[/jumpto]
      Example Usage
      This takes you to a new location within a post
      Example Output
      Left
      Use this code to align your paragraphs to the left.
      value​
      Usage
      Left Aligned Text​
      Example Usage
      Left Aligned Text
      Example Output
      Mention
      Mention an user to alert him or her to this post!
      [mention]value[/mention]
      Usage
      [mention]Username[/mention]
      Example Usage
      @
      Example Output
      Insert an MP3 flash player
      Adds a flash-based MP3 player to your post, able to play the specified file.
      [mp3]value[/mp3]
      Usage
      [mp3]http://www.domain.com/file.mp3[/mp3]
      Example Usage

      Example Output
      Off Topic
      You can use the [ot] and [/ot] tags when discussing something off-topic. Off-topic banter in a thread should be avoided, and a new thread should be created as soon as possible. If you want to briefly mention something which is off-topic, this can be used.
      [ot]value[/ot]
      Usage
      [ot]I am discussing something off-topic[/ot]
      Example Usage
      Off Topic:

      I am discussing something off-topic
      Example Output
      Reference Site Link
      Create a direct link to a reference site entry
      [reference=Option]value[/reference]
      Usage
      [ref=css/lengthunits]CSS Length Units[/ref]
      Example Usage
      [ref=css/lengthunits]CSS Length Units[/ref]
      Example Output
      Right
      Use this to align your text to the right.
      value​
      Usage
      Right Aligned Text​
      Example Usage
      Right Aligned Text
      Example Output
      Rule
      Places a Horizontal Rule in your message. You can specify color and width. [rule=width]color[/rule]
      [rule=Option]value[/rule]
      Usage
      [rule=60%]Navy[/rule]
      Example Usage
      Example Output
      Strikethrough
      Allows you to strike through text in a post so you can emphasis its deletions without removing it from the message entirely.
      value
      Usage
      Strikethrough
      Example Usage
      Strikethrough
      Example Output
      Sample Code
      The [samp] tag is an inline tag for denoting sample code.
      [samp]value[/samp]
      Usage
      [samp]arr = new array([3,6,8]);[/samp]
      Example Usage
      arr = new array([3,6,8]);
      Example Output
      Small
      You can make small text by using this tag.
      [small]value[/small]
      Usage
      [small]This is small text[/small]
      Example Usage
      This is small text
      Example Output
      Spoiler
      Use the
      code to create hidden text. When viewed in the forums, the text will be invisible until it is highlighted with the mouse. Useful for spoilers in movies.
      value
      Usage
      This text will be hidden
      Example Usage
      This text will be hidden
      Example Output
      YouTube
      Adds a YouTube video to a post. Enter the video's ID, which can be found at the end of the URL.
      [youtube]value[/youtube]
      Usage
      [youtube]YOUTUBEID[/youtube]
      Example Usage
      Example Output
​
 
Back
Top