BB Codes
-
[B], [I], [U], [S] - Bold, Italics, Underline, and Strike-through
Makes the wrapped text bold, italic, underlined, or struck-through.
- Example:
- This is [B]bold[/B] text.
This is [I]italic[/I] text.
This is [U]underlined[/U] text.
This is [S]struck-through[/S] text.
- Output:
- This is bold text.
This is italic text.
This is underlined text.
This is struck-through text.
-
[COLOR=color], [FONT=name], [SIZE=size] - Text Color, Font, and Size
Changes the color, font, or size of the wrapped text.
- Example:
- This is [COLOR=red]red[/COLOR] and [COLOR=#0000cc]blue[/COLOR] text.
This is [FONT=Courier New]Courier New[/FONT] text.
This is [SIZE=1]small[/SIZE] and [SIZE=7]big[/SIZE] text.
- Output:
- This is red and blue text.
This is Courier New text.
This is small and big text.
-
[URL], [EMAIL] - Linking
Creates a link using the wrapped text as the target.
- Example:
- [URL]http://www.example.com[/URL]
[EMAIL]example@example.com[/EMAIL]
-
[URL=link], [EMAIL=address] - Linking (Advanced)
Links the wrapped text to the specified web page or email address.
- Example:
- [URL=http://www.example.com]Go to example.com[/URL]
[EMAIL=example@example.com]Email me[/EMAIL]
- Output:
- Go to example.com
Email me
-
[IMG] - Image
Display an image, using the wrapped text as the URL.
- Example:
- [IMG]http://www.pakistan.web.pk/styles/default/xenforo/avatars/avatar_s.png[/IMG]
- Output:
![[IMG]](http://www.pakistan.web.pk/styles/default/xenforo/avatars/avatar_s.png)
-
[MEDIA=site] - Embedded Media
Embeds media from approved sites into your message. It is recommended that you use the media button in the editor tool bar. Approved sites: BBC iPlayer; Dailymotion; Facebook; Flickr; MegaVideo; Scribd; VideoBB; VideoZer; Vimeo; YouTube;
- Example:
- [MEDIA=youtube]oHg5SJYRHA0[/MEDIA]
- Output:
- An embedded YouTube player would appear here.
-
[LIST] - Lists
Displays a bulleted or numbered list.
- Example:
- [LIST]
[*]Bullet 1
[*]Bullet 2
[/LIST]
[LIST=1]
[*]Entry 1
[*]Entry 2
[/LIST]
- Output:
- Bullet 1
- Bullet 2
- Entry 1
- Entry 2
-
[LEFT], [CENTER], [RIGHT] - Text Alignment
Changes the alignment of the wrapped text.
- Example:
- [LEFT]Left-aligned[/LEFT]
[CENTER]Center-aligned[/CENTER]
[RIGHT]Right-aligned[/RIGHT]
- Output:
- Left-alignedCenter-alignedRight-aligned
-
[QUOTE] - Quoted Text
Displays text that has been quoted from another source. You may also attribute the name of the source.
- Example:
- [QUOTE]Quoted text[/QUOTE]
[QUOTE=A person]Something they said[/QUOTE]
- Output:
-
[CODE], [PHP], [HTML] - Programming Code Display
Displays text in one of several programming languages, highlighting the syntax where possible.
- Example:
- [CODE]General
code[/CODE]
[PHP]echo $hello . 'world';[/PHP]
- Output:
- Welcome Guest! Become A Proud Member of Pakistan.web.pk
You are currently browsing as a guest, which gives you limited access to the forum. You can Join our
forum for free, after which you will be able to dive into discussions, follow your favorite members and
their recent activities, status updates, and have access to several great members-only features.
It only takes a few seconds to Join! - Please Sign up now or Log in for full forum access.PHP:echo $hello . 'world';
-
[INDENT] - Text Indent
Indents the wrapped text. This can be nested for larger indentings.
- Example:
- Regular text
[INDENT]Indented text
[INDENT]More indented[/INDENT]
[/INDENT]
- Output:
- Regular text
Indented text
More indented
-
[PLAIN] - Plain Text
Disables BB code translation on the wrapped text.
- Example:
- [PLAIN]This is not [B]bold[/B] text.[/PLAIN]
- Output:
- This is not [B]bold[/B] text.
-
[ATTACH] - Attachment Insertion
Inserts an attachment at the specified point. If the attachment is an image, a thumbnail or full size version will be inserted. This will generally be inserted by clicking the appropriate button.
- Example:
-
Thumbnail: [ATTACH]123[/ATTACH]
Full Size: [ATTACH=full]123[/ATTACH]
- Output:
- The contents of the attachments would appear here.
-
[BG=option] - Background Colour
Changes the background colour of the wrapped text.
- Example:
- [BG=#FFFFFF]This is a white background.[/BG]
[BG=white]This is a white background.[/BG]
- Output:
- This is a white background.
This is a white background.
-
[BOX=option] - Scrolling Box
Inserts a scrolling box with a user definable height.
- Example:
- [BOX=50]This is a scrolling box. Content will stay within the confines of this box and a vertical scroll bar will be present once the content exceeds the user defined height.[/BOX]
- Output:
- This is a scrolling box. Content will stay within the confines of this box and a vertical scroll bar will be present once the content exceeds the user defined height.
-
[FLOAT=option] - Float
Allows the use of a floating div. Option is either left, right, center.
- Example:
- [float="right"]Floating Right![/float]
- Output:
- Floating Right!
-
[FLOAT_LEFT] - Float Left
Floats the wrapped content to the left.
- Example:
- [FLOAT_LEFT]This content is floating left.[/FLOAT_LEFT] Content outside the float tags will wrap around the floated content.
- Output:
- This content is floating left.Content outside the float tags will wrap around the floated content.
-
[FLOAT_RIGHT] - Float Right
Floats the wrapped content to the right.
- Example:
- [FLOAT_RIGHT]This content is floating right.[/FLOAT_RIGHT] Content outside the float tags will wrap around the floated content.
- Output:
- This content is floating right.Content outside the float tags will wrap around the floated content.
-
[GMP3] - Google mp3 player
Uses googles swf mp3 player for playback of mp3's in posts
- Example:
- [mp3]xenxero.com/data/media/audio/wijb.mp3[/mp3]
- Output:
- [mp3]xenxero.com/data/media/audio/wijb.mp3[/mp3]
-
[GTABLE_ADD_COL=option] - gtable_add_col
gtable_add_col
- Example:
- [gtable_add_col=integer]No of Games[/gtable_add_col]
- Output:
- data.addColumn('integer', 'No of Games');
-
[GTABLE_ADD_DATA=option] - gtable_add_data
gtable_add_data
- Example:
- [gtable_add_data=0, 1]10 games[/gtable_add_data]
- Output:
- data.setCell(0, 1,10 games);
-
[GTABLE_ADD_ROW_COUNT] - gtable_add_row_count
gtable_add_row_count
- Example:
- [gtable_add_row_count]3[/gtable_add_row_count]
- Output:
- data.addRows(3);
-
[GTABLE_END=option] - gtable_end
gtable_end
- Example:
- [gtable_end][/gtable_end]
- Output:
- [gtable_end][/gtable_end]
-
[GTABLE_TOP=option] - gtable_top
gtable-top
- Example:
- [gtable_top=500][/gtable_top]
- Output: