BB code là một bộ của các tag dựa trên ngôn ngữ HTML mà bạn có thể đã từng dùng. Chúng cho phép bạn thêm các định dạng vào bài viết của mình giống như ngôn ngữ HTML có thể hiển thị, nhưng có cú pháp đơn giản hơn và sẽ bao giờ phá vỡ bố cục của trang bạn đang xem.
Khả năng để sử dụng BB code được thiết lập theo từng diễn đàn bởi người quản trị, vì vậy bạn nên kiểm tra Nội quy diễn đàn khi bạn đăng một bài viết mới.
Dưới đây là danh sách các BB code bạn có thể dùng để định dạng văn bản bài viết của mình.
The [list] tag allows you to create simple, bulleted lists without specifying an option. Within the value portion, each bullet is denoted by the [*] tag.
[list]giá trị[/list]
Cách dùng
[list] [*]list item 1 [*]list item 2 [/list]
Ví dụ
list item 1
list item 2
Khi hiển thị
Danh sách nâng cao
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).
[list=Tùy chọn]giá trị[/list]
Cách dùng
[list=1] [*]list item 1 [*]list item 2 [/list]
[list=A] [*]list item 1 [*]list item 2 [/list]
[list=a] [*]list item 1 [*]list item 2 [/list]
Ví dụ
list item 1
list item 2
list item 1
list item 2
list item 1
list item 2
Khi hiển thị
Ảnh
The [img] tag allows you to embed images within your posts. You can also combine this tag with the [url] tag to make images become links.
The [quote] tag allows you to attribute text to someone else.
[quote]Trích dẫn[/quote]
[quote=Tên tài khoản]giá trị[/quote]
Cách dùng
[quote]Lorem ipsum dolor sit amet[/quote]
[quote=John Doe]Lorem ipsum dolor sit amet[/quote]
[quote=John Doe;797298]Lorem ipsum dolor sit amet[/quote]
Ví dụ
Lorem ipsum dolor sit amet
Gửi bởi John Doe
Lorem ipsum dolor sit amet
Gửi bởi John Doe
Lorem ipsum dolor sit amet
Khi hiển thị
Highlight
The [highlight] tag allows you to emphasize your text.
Cách dùng
[highlight]giá trị[/highlight]
Ví dụ
[highlight]this text is highlighted[/highlight]
Khi hiển thị
this text is highlighted
Dừng phân tích mã BB code
The [noparse] tag allows you to stop the parsing of BB code.
[noparse][b]giá trị[/b][/noparse]
Cách dùng
[noparse][b]Lorem ipsum dolor sit amet[/b][/noparse]
Ví dụ
[b]Lorem ipsum dolor sit amet[/b]
Khi hiển thị
Đí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.
[attach]attachmentid[/attach]
Cách dùng
[attach]12345[/attach]
Ví dụ
Khi hiển thị
Google Maps
Thêm bản đồ vào dựa trên địa chỉ input vào
[Map]giá trị[/Map]
Cách dùng
[map]233A Bình Quới P.28, Quận Bình Thạnh, TP. HCM[/map]