Catalog / BBCode Cheatsheet
BBCode Cheatsheet
A quick reference guide to BBCode (Bulletin Board Code) syntax for formatting text in online forums and other platforms. Covers essential tags for text styling, links, images, lists, and more.
Basic Text Formatting
Text Styles
[b]Bold text[/b] |
Result: Bold text |
[i]Italic text[/i] |
Result: Italic text |
[u]Underlined text[/u] |
Result: Underlined text |
[s]Strikethrough text[/s] |
Result: Strikethrough text |
[sup]Superscript text[/sup] |
Result: Superscript textSuperscript text |
[sub]Subscript text[/sub] |
Result: Subscript textSubscript text |
Text Colors
[color=red]Red text[/color] |
Result: Red text |
[color=#00FF00]Green text[/color] |
Result: Green text |
[color=blue]Blue text[/color] |
Result: Blue text |
Text Sizes
[size=1]Tiny text[/size] |
Result: Tiny text |
[size=3]Normal text[/size] |
Result: Normal text |
[size=7]Huge text[/size] |
Result: Huge text |
Links and Images
Hyperlinks
Result: https://example.com |
|
[url=https://example.com]Example Website[/url] |
Result: Example Website |
Images
Result: Display an image from the specified URL. Note: actual image display depends on the platform’s BBCode implementation. |
Lists and Quotes
Lists
[list] |
Result:
|
[list=1] |
Result:
|
[list=a] |
Result: |
Quotes
[quote]Quoted text[/quote] |
Result: Displays the text as a quotation. |
[quote=Author]Quoted text with author[/quote] |
Result: Displays the text as a quotation, attributed to the specified author. |
Code and Other Formatting
Code Blocks
[code]This is some code.[/code] |
Result: Displays the text as a code block. The exact appearance depends on the platform implementation. Example:
|
[code=php][/code] |
Result: Displays the code with syntax highlighting (if supported by the platform). Example:
|
Alignment
[align=center]Centered Text[/align] |
Result: Centers the text horizontally. Support may vary across platforms. |
[align=right]Right-aligned Text[/align] |
Result: Aligns the text to the right. Support may vary across platforms. |
Line Breaks
BBCode generally recognizes standard line breaks (i.e., pressing ‘Enter’ in your text editor). If not, manual line breaks are usually not supported directly via a BBCode tag. Instead, platforms typically handle line breaks automatically. |