How to use BBCodes


[PHP] [/PHP]
Beginning and Ending PHP tags
[B] [/B]
Bold
[I] [/I]
Italic
[U] [/U]
Underline
[LEFT] [/LEFT]
Align Text Left
[CENTER] [/CENTER]
Align Text Center
[RIGHT] [/RIGHT]
Align Text Right
[INDENT] [/INDENT]
Indent Text
[list=1] [/list]
Numbered List
[list=a] [/list]
Alphabetical List
[*]
[*]list item
[IMG] [/IMG]
Image
[P] [/P]
New Paragraph
[BR]
Line Break

Using BBCode incorrectly:

[url] www.yourdomain.com [/url] - do not put spaces between the bracket code and the text you are applying between

[email]myname@domain.com[email]  - the end brackets must include a forward slash. Correct way is like: [/email]

PHP Beginning and Ending tags
This tag allow for php programming codes to be included with the desciptions
How to use this BBCode [PHP]value[/PHP]
BBCode Example[PHP]
$myvar = 'My Example';
for ($i = 0; $i < 10; $i++)
{
echo $myvar . " ";
}
[/PHP]
How your BBCode will look $myvar = 'My Example';
for ($i = 0; $i < 10; $i++)
{
echo $myvar . " ";
}
Bold
This tag allow you to create text that is bold
How to use this BBCode [B]value[/B]
BBCode Example [B]the text is bold[/B]
How your BBCode will look the text is bold
Italic
This tag allow you to create text that is italic
How to use this BBCode [I]value[/I]
BBCode Example [I]this text is italic[/I]

How your BBCode will look

the text is italic
Underline
This tag allow you to create text that is underlined
How to use this BBCode [U]value[/U]
BBCode Example [U]the text is underlined[/U]

How your BBCode will look

this text is underlined
Align Left
This tag allow you to change the alignment of your text to left.
How to use this BBCode [LEFT]value[/LEFT]
BBCode Example [LEFT]this text is aligned left[/LEFT]
How your BBCode will look this text is left-aligned
Align Center
This tag allow you to change the alignment of your text to center
How to use this BBCode [CENTER]value[/CENTER]
BBCode Example [CENTER]this text is aligned center[/CENTER]
How your BBCode will look
this text is aligned center
Align Right
This tag allow you to change the alignment of your text to right
How to use this BBCode [RIGHT]value[/RIGHT]
BBCode Example [RIGHT]this text is aligned right[/RIGHT]
How your BBCode will look
this text is aligned right
Indent
This tags allow you to indent your text.
How to use this BBCode [INDENT]valuee[/INDENT]
BBCode Example [INDENT]the text is indented[/INDENT]

How your BBCode will look

    this text is indented
Numbered List
The [list] tag allows you to create simple, bullet lists without specifying an option. Within the value, each bullet is denoted by the [*] tag.
How to use this BBCode [list=Option]value[/list]
BBCode Example [list=1]
[*]list item 1
[*]list item 2
[/list]

How your BBCode will look

    1. list item 1
    2. list item 2
Alphabetical List
This tag allows you to create advanced alphabetic lists with letters
How to use this BBCode [list=Option]value[/list]
BBCode Example [list=a]
[*]list item 1
[*]list item 2
[/list]
How your BBCode will look
    a. list item 1
    b. list item 2
List Item
Within the value portion, each bullet is denoted by the [*] tag.
How to use this BBCode [list=Option]value[/list]
BBCode Example [list=1]
[*]list item 1
[*]list item 2
[/list]
How your BBCode will look

    1. list item 1
    2. list item 2

OR

    a. list item 1
    b. list item 2

Images
The [IMG] tag allows you to place images within your description, you can also combine this tag with the [URL] tag to make images become links.
How to use this BBCode [IMG]value[/IMG]
BBCode Example

[IMG]http://www.ilance.ca/images/image.gif[/IMG] (Not linked)

[URL=http://www.ilance.ca][IMG]http://www.ilance.ca/images/image.gif[/IMG] [/URL] (Linked)

How your BBCode will look

(Not linked)

(Linked)

Email Address
Within these tags, the option = email address
How to use this BBCode [EMAIL=Option]value[/EMAIL]
BBCode Example [EMAIL=myname@domain.com]click for my email[/EMAIL]
How your BBCode will look
URL
[Within these tags, the option = url address
How to use this BBCode [URL=Option]value[/URL]
BBCode Example [URL=mydomain.com]Here is my url[/URL]
How your BBCode will look
Font Size
Within these tags, the option = size, this tag allows you to change the size of your text.
How to use this BBCode [SIZE=Option]value[/SIZE]
BBCode Example [SIZE=+2]the text is two sizes larger[/SIZE]
How your BBCode will look

the text is two sizes larger

Font
[FONT] Tags allow you to change the size of your font
How to use this BBCode [FONT=Option]value[/FONT]
BBCode Example [FONT=Tahoma]This text is using the Tahoma font[/FONT]

How your BBCode will look

This text is using the Tahoma font

Color
[COLOR] Tags allows you to change the color of your text.
How to use this BBCode [COLORr=Option]value[/COLOR]
BBCode Example [COLOR=green]the text is green[/COLOR]
How your BBCode will look

the text is green

Paragraph
These [P] tags allow for a paragraph to begin.
How to use this BBCode [P]value[/P]
BBCode Example [P]This is my paragraph[/P]
How your BBCode will look

This is my paragraph

Break
These [BR] tags allow you to break to the next line or paragraph.
How to use this BBCode [BR]
BBCode Example this is my line break[BR]This is new line[BR][BR]Last line
How your BBCode will lookthis is my line break
This is a new line


Last line


No comments