BB codes

  • [B], [I], [U], [S] - Bold, italics, underline, and strike-through

    Làm cho vùng chữ được bôi trở thành in đậm, in nghiêng, gạch chân hoặc gạch ngang.
    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.
    Hiển thị:
    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

    Thay đổi màu sắc, phông chữ hoặc kích thước của ký tự được chọn.
    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.
    Hiển thị:
    This is red and blue text.
    This is Courier New text.
    This is small and big text.
  • [URL], [EMAIL] - Linking

    Chèn liên kết tại Ký tự được bao quanh.
    Ví dụ:
    [URL]https://www.example.com[/URL]
    [EMAIL]example@example.com[/EMAIL]
    Hiển thị:
  • [URL=link], [EMAIL=address] - Linking (Advanced)

    Chèn liên kết cho trang web hoặc địa chỉ email cho vùng chọn.
    Ví dụ:
    [URL=http://www.example.com]Go to example.com[/URL]
    [EMAIL=example@example.com]Email me[/EMAIL]
    Hiển thị:
  • [USER=ID] - Profile Linking

    Liên kết đến một hồ sơ . Điều này thường được chèn tự động khi gắn thẻ thành viên.
    Ví dụ:
    [USER=1]Tên thành viên[/USER]
    Hiển thị:
  • [IMG] - Image

    Hiển thị hình ảnh sử dụng vùng chọn như là 1 liên kết
    Ví dụ:
    [IMG]https://congdongxaydung.vn/forums/data/assets/logo/cdxd.png[/IMG]
    Hiển thị:
    cdxd.png
  • [MEDIA=site] - Embedded Media

    Chèn video, flash đa phương tiện từ trang web được phép vào nội dung bài viết. Bạn nên dùng nút MEDIA ở thanh công cụ soạn thảo của diễn đàn.
    Trang web được chấp thuận: Apple Music, Dailymotion, Facebook, Flickr, Giphy, Imgur, Instagram (Legacy), Liveleak, Metacafe, Pinterest, Reddit, SoundCloud, Spotify, TikTok, Tumblr, Twitch, Twitter, Vimeo, YouTube
    Ví dụ:
    [MEDIA=youtube]kQ0Eo1UccEE[/MEDIA]
    Hiển thị:
    An embedded YouTube player would appear here.
  • [LIST] - Lists

    Hiển thị kiểu danh sách dấu chấm hoặc số.
    Ví dụ:
    [LIST]
    [*]Bullet 1
    [*]Bullet 2
    [/LIST]
    [LIST=1]
    [*]Entry 1
    [*]Entry 2
    [/LIST]
    Hiển thị:
    • Bullet 1
    • Bullet 2
    1. Entry 1
    2. Entry 2
  • [LEFT], [CENTER], [RIGHT] - Text Alignment

    Thay đổi kiểu căn lề của vùng chữ được chọn.
    Ví dụ:
    [LEFT]Left-aligned[/LEFT]
    [CENTER]Center-aligned[/CENTER]
    [RIGHT]Right-aligned[/RIGHT]
    Hiển thị:
    Left-aligned​
    Center-aligned​
    Right-aligned​
  • [QUOTE] - Quoted text

    Hiển thị ký tự đã được trích từ nguồn khác. Bạn có thể đặt tên của nguồn.
    Ví dụ:
    [QUOTE]Quoted text[/QUOTE]
    [QUOTE=A person]Something they said[/QUOTE]
    Hiển thị:
    A person nói:
    Something they said
  • [SPOILER] - Text containing spoilers

    Ẩn văn bản có thể dùng spoilers để nó phải được bấm bởi người xem mới có thể nhìn thấy.
    Ví dụ:
    [SPOILER]Simple spoiler[/SPOILER]
    [SPOILER=Spoiler Title]Spoiler with a title[/SPOILER]
    Hiển thị:
    Simple spoiler
    Spoiler with a title
  • [ISPOILER] - Inline text containing spoilers

    Allows you to display text inline among normal content which hides text that may contain spoilers and must be clicked by the viewer to be seen.
    Ví dụ:
    You have to click the following [ISPOILER]word[/ISPOILER] to see the content.
    Hiển thị:
    You have to click the following word to see the content.
  • [CODE] - Programming code display

    Hiển hị ký tự dưới dạng một số ngôn ngữ lập trình.
    Ví dụ:
    General code:
    [CODE]General
    code[/CODE]

    Rich code:
    [CODE=rich][COLOR=red]Rich[/COLOR]
    code[/CODE]

    PHP code:
    [CODE=php]echo $hello . ' world';[/CODE]

    JS code:
    [CODE=js]var hello = 'world';[/CODE]
    Hiển thị:
    General code:
    Mã:
    General
    code

    Rich code:
    Rich (BB code):
    Rich
    code

    PHP code:
    PHP:
    echo $hello . ' world';

    JS code:
    Mã:
    var hello = 'world';
  • [ICODE] - Inline programming code display

    Allows you to display code inline among normal post content. Syntax will not be highlighted.
    Ví dụ:
    Inline code blocks [ICODE]are a convenient way[/ICODE] of displaying code inline.
    Hiển thị:
    Inline code blocks are a convenient way of displaying code inline.
  • [INDENT] - Text indent

    Canh lề văn bản. Điều này có thể được lồng vào nhau cho indentings lớn hơn.
    Ví dụ:
    Regular text
    [INDENT]Indented text
    [INDENT]More indented[/INDENT]
    [/INDENT]
    Hiển thị:
    Regular text
    Indented text
    More indented​
  • [TABLE] - Tables

    Special markup to display tables in your content.
    Ví dụ:
    [TABLE]
    [TR]
    [TH]Header 1[/TH]
    [TH]Header 2[/TH]
    [/TR]
    [TR]
    [TD]Content 1[/TD]
    [TD]Content 2[/TD]
    [/TR]
    [/TABLE]
    Hiển thị:
    Header 1 Header 2
    Content 1 Content 2
  • [HEADING=level] - Headings levels 1 to 3

    Marks text as a structured heading to facilitate machine readability.
    Ví dụ:
    [HEADING=1]Major heading[/HEADING]
    This text comes under a major heading, used to separate the primary sections of an article.

    [HEADING=2]Minor heading[/HEADING]
    When you need to subdivide the primary sections of an article, use a level 2 minor heading.

    [HEADING=3]Subheading[/HEADING]
    If you require additional subdivision, you may drop to level 3.
    Hiển thị:

    Major heading​

    This text comes under a major heading, used to separate the primary sections of an article.

    Minor heading​

    When you need to subdivide the primary sections of an article, use a level 2 minor heading.

    Subheading​

    If you require additional subdivision, you may drop to level 3.
  • [PLAIN] - Plain text

    Vô hiệu hóa BB code dịch trên văn bản bọc.
    Ví dụ:
    [PLAIN]This is not [B]bold[/B] text.[/PLAIN]
    Hiển thị:
    This is not [B]bold[/B] text.
  • [ATTACH] - Chèn tệp đính kèm

    Chèn một file đính kèm tạivị trí quy định. Nếu tập tin đính kèm là một hình ảnh, một hình ảnh thu nhỏ hoặc phiên bản kích thước đầy đủ sẽ được chèn vào. Điều này thường sẽ được chèn bằng cách nhấn vào nút thích hợp.
    Ví dụ:
    Hình thu nhỏ: [ATTACH]123[/ATTACH]
    Kích thước đầy đủ: [ATTACH=full]123[/ATTACH]
    Hiển thị:
    The contents of the attachments would appear here.
  • [CHARGE=option] - Charge

    Charging users to view your content.
    Ví dụ:
    [CHARGE=5]It costs 5 credits to see this text.[/CHARGE]
    Hiển thị:
    It costs 5 credits to see this text.
  • [GALLERY=option] - Gallery embed

    BB code for displaying gallery media items and albums.
    Ví dụ:
    [GALLERY=media, X]Gallery BB Code[/GALLERY]
    Hiển thị:
    [GALLERY=media, X]Gallery BB Code[/GALLERY]
  • [GROUP=option] - Embed groups

    custom_bb_code_desc.group
    Ví dụ:
    custom_bb_code_example.group
    Hiển thị:
    custom_bb_code_output.group
  • [JUSTIFY] - Canh đều

    custom_bb_code_desc.justify
    Ví dụ:
    [justify]text[/justify]
    Hiển thị:
    custom_bb_code_output.justify
  • [LATEX] - LATEX

    custom_bb_code_desc.latex
    Ví dụ:
    [latex]\frac{1}{3}[/latex]
    Hiển thị:
    custom_bb_code_output.latex
  • [POST=option] - Post

    Link to a specific post.
    Ví dụ:
    [post=1]Post 1[/post]
    Hiển thị:
  • [SHOWCASE=option] - Showcase Item embed

    BB code for displaying showcase items
    Ví dụ:
    [SHOWCASE=item, X]Showcase Item BB Code[/SHOWCASE]
    Hiển thị:
    [SHOWCASE=item, X]Showcase Item BB Code[/SHOWCASE]
  • [THREAD=option] - Thread

    Link to a specific thread with a thread id.
    Ví dụ:
    [thread=1]A Thread[/thread]
    Hiển thị: