Skip to content
Belac Darkstorm edited this page May 5, 2016 · 8 revisions

The Basics of BBCode

BBCode Wikipedia page

BBCode is a simple way to format text, often used in forums and other places where people may not know how to write HTML. For the most part, I've tried to keep everything standard BBCode with some additions to make formatting easier for non-programmers.

What is a tag?

A tag tells the program that converts the BBCode into browser readable HTML how to format text, and what exactly to format. A tag always is surrounded by brackets and has something inside (ex: [b]). Of course you also have to express when you want that effect to stop, so you have to add an ending tag. An ending tag is almost exactly like a normal tag, except the insides start with a forward slash (ex: [/b]).

What's actually inside of the tag is what text to format. If you were to do [bold]Hello[/bold] then you would get "Hello" and if you do [bold]Hello[/bold], my name is James then you get "Hello, my name is James".

Some tags take in values in the tags that allows you to do fancy stuff with with your text. One simple tag that takes in a value is color; you can guess what the value is. If you do [color=red]I am red[/color] you would get "I am red"(sorry about the background). Some tags can take in multiple values, which you'll find in the tag's page.

Clone this wiki locally