W H A T    I S    BB   C O D E ?


BBCode is a variation on the HTML tags you may already be familiar with. Basically, it allows you to add functionality or style to your message that would normally require HTML. You can use BBCode even if HTML is not enabled for the gallery. You may want to use BBCode as opposed to HTML, even if HTML is enabled for the Gallery, because there is less coding required and it is safer to use (incorrect coding syntax will not lead to as many problems).

Current BBCodes:
URL hyperlinking
Simply type the complete URL in either of the following manners and the hyperlink will be created automatically:
  • You can have true hyperlinks using the [url] code. Just use the following format:

    [url=http://www.example.com]hyperlink[/url]

  • The old [URL] code will still work, as detailed below. Just encase the link as shown in the following example (BBCode is in red).

    [url]http://www.example.com[/url]

In the examples above, the BBCode automatically generates a hyperlink to the URL that is encased. It will also ensure that the link is opened in a new window when the user clicks on it. In the first example above, the URL will hypelink the text to whatever URL you provide after the equal sign. Also note that you should NOT use quotation marks inside the URL tag.
Email links
To add a hyperlinked email address within your message, just encase the email address as shown in the following example (BBCode is in red).

[email]name@example.com[/email]

In the example above, the BBCode automatically generates a hyperlink to the email address that is encased.
Bold, italics and underline
You can make bold, italicized or underline text by encasing the applicable sections of your text with either the [b] [/b], [i] [/i] or [u] [/u] tags.

Hello, [b]John[/b]

Hello, [i]Maria[/i]

Hello, [u]Camilla[/u]
Adding images
To add a graphic within your message, just encase the URL of the graphic image as shown in the following example (BBCode is in red).

[img]http://www.example.com/image/logo.gif[/img]

In the example above, the BBCode automatically makes the graphic visible in your message. Note: the "http://" part of the URL is REQUIRED for the [img] code.

Of note
You must not use both HTML and BBCode to do the same function. Also note that the BBCode is not case-sensitive (thus, you could use [URL] or [url]).

Incorrect BBCode usage:
[url] www.example.com [/url] - don't put spaces between the bracketed code and the text you are applying the code to.

[email]name@example.com[email] - the end brackets must include a forward slash ([/email])