BBCode is a lightweight markup language used to format messages in many Internet forum software, first introduced in 1998. The available 'tags' of BBCode are usually indicated by square brackets ([ ]) surrounding a keyword, and are parsed before being translated into HTML.[1]
Effect of the 1872 codes. Persons 38 - 86 division 2. Property 654 - 1422 division 3. Obligations 1427 - 3273.16 division 4.
Finding Your NAICS & SIC Codes has never been easier! Avoid trudging through the Census Database. Use the BEST Free Resource for NAICS & SIC Information! Plus Codes are like street addresses for people or places that don't have one. Instead of addresses with street names and numbers, Plus Codes are based on latitude and longitude, and displayed as numbers and letters. With a Plus Code, people can receive deliveries, access emergency and social services, or just help other people find them.
Tags[edit]
Example in HTML/CSS | BBCode | Output | |||
---|---|---|---|---|---|
<b>bolded textb> ,<strong>bolded textstrong> or<spanstyle='font-weight: bold;'>bolded textspan> | [b]bolded text[/b] | bolded text | |||
<i>italicized texti> ,<em>italicized textem> or<spanstyle='font-style: italic;'>italicized textspan> | [i]italicized text[/i] | italicized text | |||
<ins>underlined textins> or<spanstyle='text-decoration: underline;'>underlined textspan> | [u]underlined text[/u] | underlined text | |||
<del>strikethrough textdel> or<spanstyle='text-decoration: line-through;'>strikethrough textspan> | [s]strikethrough text[/s] | ||||
<ahref='https://en.wikipedia.org'>https://en.wikipedia.orga> <ahref='https://en.wikipedia.org'>English Wikipediaa> | [url]https://en.wikipedia.org[/url] [url=https://en.wikipedia.org]English Wikipedia[/url] | https://en.wikipedia.org English Wikipedia | |||
<imgsrc='https://upload.wikimedia.org/wikipedia/commons/7/70/Example.png'alt='Example.png'/> | [img]https://upload.wikimedia.org/wikipedia/commons/7/70/Example.png[/img] | ||||
<imgsrc='Smileys/Face-smile.svg'alt=':-)'> | :) or [:-)] This would be another way to use the [img]url_img[/img] and must be pre-configured by the forum administrator.(This and other emoticons, depending on the variant. Most BBCodes do not enclose emoticons in square brackets, leading to frequent accidental usage.) | (Specific image and size vary.) | |||
<blockquote><p>quoted textp>blockquote> (Usually implemented in more advanced ways.) | [quote]quoted text[/quote] [quote='author']quoted text[/quote] (including optional author ) | Using a Wikipedia template:
| |||
<pre>monospaced textpre> | [code]monospaced text[/code] | monospaced text | |||
<spanstyle='font-size:30px'>Large Textspan> or<spanstyle='font-size:85%'>Smaller Textspan> | [stylesize='30px']Large Text[/style] [stylesize='85']Smaller Text[/style] (The unit of measurement varies with each BBCode variant and could represent pixels, points, or relative HTML sizes.) | Large Text Smaller Text | |||
<spanstyle='color:fuchsia;'>Text in fuchsiaspan> or<spanstyle='color:#FF00FF;'>Text in fuchsiaspan> | [stylecolor='fuchsia']Text in fuchsia[/style] or[stylecolor=#FF00FF]Text in fuchsia[/style] or[color=#FF00FF]Text in fuchsia[/color] (Both HTML color names and hexadecimal color values are generally supported, although on some boards, you must omit the # from selecting a hexadecimal color.) | Text in fuchsia | |||
Some message boards do not need the square brackets around the markers.[2] Chapter 3: the humanist approach. (Many variants for |
| ||||
87, 88: elijah, parts 1 & 2. (Some variants for |
|
Implementation[edit]
BBCode is typically implemented by applying a series of regular expression string-replace operations upon the input. Because regular expressions are limited in analyzing the structure of text input, this has the artifact that any non-hierarchical BBCode input will be transformed into invalid non-hierarchical HTML without error.
Applying traditional parsing techniques is made difficult by ambiguities in the markup, such as in [quote=[b]text[/b][/quote]
, where the input can either be interpreted as 'text' quoted from someone called [b
, or the bolded text 'text' surrounded by [quote=
and [/quote]
, i.e. [quote=text[/quote]
.
BBCode is a lightweight markup language used to format messages in many Internet forum software, first introduced in 1998. The available 'tags' of BBCode are usually indicated by square brackets ([ ]) surrounding a keyword, and are parsed before being translated into HTML.[1]
Effect of the 1872 codes. Persons 38 - 86 division 2. Property 654 - 1422 division 3. Obligations 1427 - 3273.16 division 4.
Finding Your NAICS & SIC Codes has never been easier! Avoid trudging through the Census Database. Use the BEST Free Resource for NAICS & SIC Information! Plus Codes are like street addresses for people or places that don't have one. Instead of addresses with street names and numbers, Plus Codes are based on latitude and longitude, and displayed as numbers and letters. With a Plus Code, people can receive deliveries, access emergency and social services, or just help other people find them.
Tags[edit]
Example in HTML/CSS | BBCode | Output | |||
---|---|---|---|---|---|
<b>bolded textb> ,<strong>bolded textstrong> or<spanstyle='font-weight: bold;'>bolded textspan> | [b]bolded text[/b] | bolded text | |||
<i>italicized texti> ,<em>italicized textem> or<spanstyle='font-style: italic;'>italicized textspan> | [i]italicized text[/i] | italicized text | |||
<ins>underlined textins> or<spanstyle='text-decoration: underline;'>underlined textspan> | [u]underlined text[/u] | underlined text | |||
<del>strikethrough textdel> or<spanstyle='text-decoration: line-through;'>strikethrough textspan> | [s]strikethrough text[/s] | ||||
<ahref='https://en.wikipedia.org'>https://en.wikipedia.orga> <ahref='https://en.wikipedia.org'>English Wikipediaa> | [url]https://en.wikipedia.org[/url] [url=https://en.wikipedia.org]English Wikipedia[/url] | https://en.wikipedia.org English Wikipedia | |||
<imgsrc='https://upload.wikimedia.org/wikipedia/commons/7/70/Example.png'alt='Example.png'/> | [img]https://upload.wikimedia.org/wikipedia/commons/7/70/Example.png[/img] | ||||
<imgsrc='Smileys/Face-smile.svg'alt=':-)'> | :) or [:-)] This would be another way to use the [img]url_img[/img] and must be pre-configured by the forum administrator.(This and other emoticons, depending on the variant. Most BBCodes do not enclose emoticons in square brackets, leading to frequent accidental usage.) | (Specific image and size vary.) | |||
<blockquote><p>quoted textp>blockquote> (Usually implemented in more advanced ways.) | [quote]quoted text[/quote] [quote='author']quoted text[/quote] (including optional author ) | Using a Wikipedia template:
| |||
<pre>monospaced textpre> | [code]monospaced text[/code] | monospaced text | |||
<spanstyle='font-size:30px'>Large Textspan> or<spanstyle='font-size:85%'>Smaller Textspan> | [stylesize='30px']Large Text[/style] [stylesize='85']Smaller Text[/style] (The unit of measurement varies with each BBCode variant and could represent pixels, points, or relative HTML sizes.) | Large Text Smaller Text | |||
<spanstyle='color:fuchsia;'>Text in fuchsiaspan> or<spanstyle='color:#FF00FF;'>Text in fuchsiaspan> | [stylecolor='fuchsia']Text in fuchsia[/style] or[stylecolor=#FF00FF]Text in fuchsia[/style] or[color=#FF00FF]Text in fuchsia[/color] (Both HTML color names and hexadecimal color values are generally supported, although on some boards, you must omit the # from selecting a hexadecimal color.) | Text in fuchsia | |||
Some message boards do not need the square brackets around the markers.[2] Chapter 3: the humanist approach. (Many variants for |
| ||||
87, 88: elijah, parts 1 & 2. (Some variants for |
|
Implementation[edit]
BBCode is typically implemented by applying a series of regular expression string-replace operations upon the input. Because regular expressions are limited in analyzing the structure of text input, this has the artifact that any non-hierarchical BBCode input will be transformed into invalid non-hierarchical HTML without error.
Applying traditional parsing techniques is made difficult by ambiguities in the markup, such as in [quote=[b]text[/b][/quote]
, where the input can either be interpreted as 'text' quoted from someone called [b
, or the bolded text 'text' surrounded by [quote=
and [/quote]
, i.e. [quote=text[/quote]
.
See also[edit]
References[edit]
- ^'Why modern forums are switching from HTML to BBCode'. LovelyReality.com. Retrieved 24 May 2015.
- ^e.g. BOINC Project Forums et al.