article

BBCode is an abbreviation for Bulletin Board Code, the markup language used to format posts in many message boards. The available tags are usually indicated by rectangular brackets surrounding a keyword, and they are parsed by the message board system before being translated into a markup language the web browsers understands, usually HTML or XHTML.

BBCode was devised and put to use in order to provide a safer, easier and more limited way of allowing users to format their messages. Previously, many message boards allowed the users to include HTML, which could be used to break/imitate parts of the layout, or run JavaScript. Some implementations of BBCode have suffered problems related to the way they translate the BBCode into HTML, which could negate the security that was intended to be given by BBCode.

Although the basic tags of BBCode are similar in most internet forum software, there are many variants. Some variants require tags to be in the correct case whilst others are not case-sensitive. Some variants have tags which highlight HTML, PHP, SQL and other markup languages and programming languages.

BBCode tags


The following are the most common BBCode tags available to most modern message boards, and are displayed here with their HTML equivalents. However, it should be noted that the effect of these tags can be changed substantially, and the effect may not be identical on all sites using BBCode.

commons/thumb/6/63/Wikipedia-logo.png/ 150px-Wikipedia-logo.png*or Text[/color
(Can use many different color names or hex codes.)
BBCode HTML Effect
text[/b bolded text bolded text
text[/i italicized text italicized text
text[/u underlined text underlined text
*http://upload.wikimedia.org/wikipedia/
*Wikipedia* Wikipedia Wikipedia
To quote:text[/quote To quote:
quoted text

(usually implemented in more advanced ways)
To quote:
quoted text
text[/code
monospaced text
monospaced text
To change text size: Text[/size
(Can change number to change size, "12" is usually standard on message boards.)
To change text size: Your Text To change text size: Your Text
To change text color: Text[/color To change text color: Red Text To change text color: Red Text

Many message boards include a FAQ with information on how to use their own variants of BBCode.

External links


Markup languages

BBCode | BBcode | BBCode | BBCode | BBcode | BBCode | BBCode | BBCode

 

This article is licensed under the GNU Free Documentation License. It uses material from the "BBCode".

Home Pageartsbusinesscomputersgameshealthhospitalshomekids & teensnewsphysiciansrecreationreferenceregionalscienceshoppingsocietysportsworld