BBCode to HTML Converter

BBCode and Html

BBCode (Bulletin Board Code) is a lightweight markup language used to format posts in forums and other message boards. Usually the available tags used in BBCode are the square brackets that surround a code, keyword or phrase. 


The information on the inside of the brackets are parsed by the forum or the message board system before being translated into a markup language that web browsers understand like HTML or XHTML.

The first set of brackets begins what you want to do, especially with color. When ever you see a forward slash in two of the squared brackets before the command you put in the beginning, that means you are ending it.

I will demonstrate this first with spaces so you can see what I did, then I will do it with out the spaces.

HTML (Hyper Text Markup Language) is the main markup language for creating web pages and other information t hat can be viewed on a web browser. HTML is written in the form of HTML elements consisting of tags enclosed in the angle brackets < > with in the web page content. Like the BBCode, HTML comes in pairs that look like this: <h1> </h1>. Just like with BBCode, the first piece is the beginning and the second piece with the forward slash / is the end. These pieces are known as tags. The first tag is known as an opening tag, the second tag is known as a closing tag.