![]() |
|
|||||||
| Chú ý |
| BB Code | |
|
BB code is a set of tags based on the HTML language that you may already be familiar with.
They allow you to add formatting to your messages in the same way as HTML does,
but have a simpler syntax and will never break the layout of the pages you are viewing.
The ability to use BB code is set on a forum-by-forum basis by the administrator,
so you should check the forum rules when you post a new message. Below is a list of the BB code tags you can use to format your messages. |
|
| BB Code List | |
| [b], [i], [u] | Bold / Italic / Underline |
| [color] | Color |
| [size] | Size |
| [font] | Font |
| [highlight] | Highlight |
| [left], [right], [center] | Left / Right / Center |
| [indent] | Indent |
| [email] | Email Linking |
| [url] | URL Hyperlinking |
| [thread] | Thread Linking |
| [post] | Post Linking |
| [list] | Bulleted Lists / Advanced Lists |
| [img] | Images |
| [code] | Code |
| [html] | HTML Code |
| [quote] | Trích |
| [noparse] | Stop BB Code Parsing |
| [attach] | Ðính kèm |
| [flash] | Flash |
| [flv] | FLV Player |
| [p] | Single Post Link |
| [s] | Strikeout |
| [sound] | Nhạc |
| [t] | Thread Link |
| [u] | User Profile Link |
| [video] | Video |
Incorrect BB Code Usage:
|
|
| Color | |
| The [color] tag allows you to change the color of your text. | |
| Usage | [color=Option]value[/color] |
| Example Usage | [color=blue]this text is blue[/color] |
| Example Output | this text is blue |
| Indent | |
| The [indent] tag allows you to indent your text. | |
| Usage | [indent]value[/indent] |
| Example Usage | [indent]this text is indented[/indent] |
| Example Output |
|
| Email Linking | |
| The [email] tag allows you to link to an email address. You can include an optional parameter to 'name' your link. | |
| Usage |
[email]value[/email] [email=Option]value[/email] |
| Example Usage |
[email]j.doe@example.com[/email] [email=j.doe@example.com]Click Here to Email Me[/email] |
| Example Output |
j.doe@example.com Click Here to Email Me |
| URL Hyperlinking | |
| The [url] tag allows you to link to other websites and files. You can include an optional parameter to 'name' your link. | |
| Usage |
[url]value[/url] [url=Option]value[/url] |
| Example Usage |
[url]http://www.vietduc.org[/url] [url=http://www.vietduc.org]Diễn đàn Học sinh Việt Đức[/url] |
| Example Output |
http://www.vietduc.org Diễn đàn Học sinh Việt Đức |
| Thread Linking | |
| The [thread] tag allows you to link to threads by specifying the thread id. You can include an optional parameter to 'name' your link. | |
| Usage |
[thread]threadid[/thread] [thread=threadid]value[/thread] |
| Example Usage |
[thread]42918[/thread] [thread=42918]Click Me![/thread] (Note: The threadid/postid is just an example and may not link to a valid thread/post.) |
| Example Output |
http://www.vietduc.org/showthread.php?t=42918 Click Me! |
| Post Linking | |
| The [post] tag allows you to link to posts by specifying the post id. You can include an optional parameter to 'name' your link. | |
| Usage |
[post]postid[/post] [post=postid]value[/post] |
| Example Usage |
[post]269302[/post] [post=269302]Click Me![/post] (Note: The threadid/postid is just an example and may not link to a valid thread/post.) |
| Example Output |
http://www.vietduc.org/showthread.php?p=269302#post269302 Click Me! |
| Advanced Lists | |
| The [list] tag allows you to create advanced lists by specifying an option. The option should have a value of 1 (for a numbered list) or A (for an alphabetic with capital letters list) or a (for an alphabetic with lowercase letters list) or I (for a numbered with capital Roman numeral list) or i (for a numbered with small Roman numeral list). | |
| Usage | [list=Option]value[/list] |
| Example Usage | [list=1] [*]list item 1 [*]list item 2 [/list] [list=a] [*]list item 1 [*]list item 2 [/list] |
| Example Output |
|
| Stop BB Code Parsing | |
| The [noparse] tag allows you to stop the parsing of BB code. | |
| Usage | [noparse][b]value[/b][/noparse] |
| Example Usage | [noparse][b]Lorem ipsum dolor sit amet[/b][/noparse] |
| Example Output | [b]Lorem ipsum dolor sit amet[/b] |
| Ðính kèm | |
| The [attach] tag allows you to display an attachment in your post rather than at the bottom. It will only display attachments that belong to the post in which it is utilized. | |
| Usage | [attach]attachmentid[/attach] |
| Example Usage | [attach]12345[/attach] |
| Example Output | |
| Flash | |
| Thẻ để gửi 1 đoạn flash có link là http://web/file.swf lên xem trực tuyến ở diễn đàn | |
| Usage | [flash]value[/flash] |
| Example Usage | [flash]http://web/file.swf[/flash] |
| Example Output | |
| FLV Player | |
| Thẻ để gửi 1 đoạn Flash FLV có link là http://domain.com/file.flv lên xem trực tuyến ở diễn đàn | |
| Usage | [flv]value[/flv] |
| Example Usage | [flv]http://domain.com/file.flv[/flv] |
| Example Output | |
| Single Post Link | |
| Đường dẫn trực tiếp đến 1 bài viết đơn lẻ | |
| Usage | [p=Option]value[/p] |
| Example Usage | [p=1000]Post ID 1000[/p] |
| Example Output | Post ID 1000 |
| Strikeout | |
| Gạch dòng | |
| Usage | [s]value[/s] |
| Example Usage | [s]Strikeout[/s] |
| Example Output | |
| Nhạc | |
| Tag trên để gửi một file có link là http://web.com/file.wma để nghe trực tuyến trên diễn đàn | |
| Usage | [sound]value[/sound] |
| Example Usage | [sound]http://web.com/file.wma[/sound] |
| Example Output | |
| Thread Link | |
| Sử dụng để thay thế 1 link dài đến thread | |
| Usage | [t=Option]value[/t] |
| Example Usage | [t=1000]Thread ID 1000[/t] |
| Example Output | Thread ID 1000 |
| User Profile Link | |
| Liên kết trực tiếp đến 1 username đơn lẻ | |
| Usage | [u=Option]value[/u] |
| Example Usage | [u=1]ID 1. vitnuce[/u] |
| Example Output | ID 1. vitnuce |
| Video | |
| Thẻ để gửi 1 đoạn video có link là http://web/file.wmv lên xem trực tuyến ở diễn đàn | |
| Usage | [video]value[/video] |
| Example Usage | [video]http://web/file.wmv[/video] |
| Example Output | |