BB Codes
-
[B], [I], [U], [S] - Bold, Italics, Underline, and Strike-through
Makes the wrapped text bold, italic, underlined, or struck-through.
- Ví dụ:
- 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.
- Đầu ra:
- 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.
- Ví dụ:
- 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.
- Đầu ra:
- 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.
- Ví dụ:
- [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.
- Ví dụ:
- [URL=http://www.example.com]Go to example.com[/URL]
[EMAIL=example@example.com]Email me[/EMAIL]
- Đầu ra:
- Go to example.com
Email me
-
[USER=ID] - Profile Linking
Links to a user's profile. This is generally inserted automatically when tagging a user.
- Ví dụ:
- [USER=1]Tên thành viên[/USER]
- Đầu ra:
- Tên thành viên
-
[IMG] - Image
Display an image, using the wrapped text as the URL.
- Ví dụ:
- [IMG]https://diendan24h.com/styles/aurora/xenforo/avatars/avatar_s.png[/IMG]
- Đầu ra:
-
[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. Phê duyệt các sites: Dailymotion; Facebook; Liveleak; Metacafe; Vimeo; YouTube;
- Ví dụ:
- [MEDIA=youtube]oHg5SJYRHA0[/MEDIA]
- Đầu ra:
- Một đoạn mã nhúng YouTube sẽ xuất hiện ở đây
-
[LIST] - Lists
Displays a bulleted or numbered list.
- Ví dụ:
- [LIST]
[*]Bullet 1
[*]Bullet 2
[/LIST]
[LIST=1]
[*]Entry 1
[*]Entry 2
[/LIST]
- Đầu ra:
- Bullet 1
- Bullet 2
- Entry 1
- Entry 2
-
[LEFT], [CENTER], [RIGHT] - Text Alignment
Các thay đổi the alignment of the wrapped text.
- Ví dụ:
- [LEFT]Left-aligned[/LEFT]
[CENTER]Center-aligned[/CENTER]
[RIGHT]Right-aligned[/RIGHT]
- Đầu ra:
- 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.
- Ví dụ:
- [QUOTE]Quoted text[/QUOTE]
[QUOTE=A person]Something they said[/QUOTE]
- Đầu ra:
-
[SPOILER] - Text Containing Spoilers
Hides text that may contain spoilers so that it must be clicked by the viewer to be seen.
- Ví dụ:
- [SPOILER]Simple spoiler[/SPOILER]
[SPOILER=Spoiler Title]Spoiler with a title[/SPOILER]
- Đầu ra:
- Simple spoilerSpoiler with a title
-
[CODE], [PHP], [HTML] - Programming Code Display
Displays text in one of several programming languages, highlighting the syntax where possible.
- Ví dụ:
- [CODE]General
code[/CODE]
[PHP]echo $hello . 'world';[/PHP]
- Đầu ra:
- Code:
General code
PHP:echo $hello . 'world';
-
[INDENT] - Text Indent
Indents the wrapped text. This can be nested for larger indentings.
- Ví dụ:
- Regular text
[INDENT]Indented text
[INDENT]More indented[/INDENT]
[/INDENT]
- Đầu ra:
- Regular text
Indented text
More indented
-
[PLAIN] - Plain Text
Disables BB code translation on the wrapped text.
- Ví dụ:
- [PLAIN]This is not [B]bold[/B] text.[/PLAIN]
- Đầu ra:
- 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.
- Ví dụ:
-
Hình thu nhỏ: [ATTACH]123[/ATTACH]
Full Size : [ATTACH=full]123[/ATTACH]
- Đầu ra:
- Nội dung File đính kèm sẽ xuất hiện ở đây.