Bulletin Board Code is a lightweight markup language used to format posts in many message boards. There is no "standard" set of BBCodes, but they are typically parsed into other markup languages.
BBCode or Bulletin Board Code is a lightweight markup language used to format posts in many message boards. The available tags are usually indicated by square brackets ([ ]) surrounding a keyword, and they are parsed by the message board system before being translated into markup languages such as HTML.
Unlike SGML-based markup languages, tags in BBCode do not have attributes. Instead, they may have a single parameter attached to them with the equals sign as a separator, such as the "color" tag on phpBB boards, where [color=red]
would make red text, for example.
Common tags include:
[b]
which makes bold text*[i]
which makes italic text*[u]
which makes underlined text*[s]
which makesstrikethrough[quote]
which makes a block-level quote box of another post*[color]
which takes a color parameter and makes colored text*[code]
which creates a code block, inside which BBCodes are typically not parsed*[img]
which embeds an image inline*[url]
which creates a link to a specified location*[spoiler]
which creates a button to show/hide contained text[background]
which highlights text
* available by default in phpBB 3.0