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://forum.dng.vn/data/assets/logo/DNG-400x400-2.png[/IMG]
    Hiển thị:
    DNG-400x400-2.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, Liveleak, Metacafe, Pinterest, Reddit, SoundCloud, Spotify, Tumblr, Twitch, Twitter, Vimeo, YouTube
    Ví dụ:
    [MEDIA=youtube]oHg5SJYRHA0[/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 1Header 2
    Content 1Content 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.
  • [PDF] - PDF

    custom_bb_code_desc.PDF
    Ví dụ:
    [PDF]http://forum.dng.vn/upload/file/quangcao.pdf[/PDF]
    Hiển thị:
    custom_bb_code_output.PDF
  • [SLIDE] - SlideShow

    custom_bb_code_desc.SLIDE
    Ví dụ:
    images/bbcode/bbcodeslide.jpg
    Hiển thị:
    custom_bb_code_output.SLIDE
  • [CLIP] - Clip

    custom_bb_code_desc.clip
    Ví dụ:
    clip
    Hiển thị:
    custom_bb_code_output.clip
  • [CLIPVN] - clipvn

    custom_bb_code_desc.clipvn
    Ví dụ:
    [ClipVN]RyF[/ClipVN]
    Hiển thị:
    custom_bb_code_output.clipvn
  • [DOC] - Word

    custom_bb_code_desc.doc
    Ví dụ:
    [doc]http://forum.dng.vn/files/demo.doc[/doc]
    Hiển thị:
    custom_bb_code_output.doc
  • [FLASH] - Nhạc flash

    custom_bb_code_desc.flash
    Ví dụ:
    flash
    Hiển thị:
    custom_bb_code_output.flash
  • [HIDE=option] - DNG-Forums

    custom_bb_code_desc.hide
    Ví dụ:
    [hide=DNG-Forums] Nhập chữ vào đây ![/hide]
    Hiển thị:
    custom_bb_code_output.hide
  • [IMGL] - Image left align with text wrap

    custom_bb_code_desc.imgl
    Ví dụ:
    [imgl=white]http://www.yoursite.com/forums/images/yourimage.jpg[/imgl]Left align an image with text wrap.
    Hiển thị:
    custom_bb_code_output.imgl
  • [IMGR] - Image right align with text wrap

    custom_bb_code_desc.imgr
    Ví dụ:
    [imgr=white]http://www.yoursite.com/forums/images/yourimage.jpg[/imgr]Right align an image with text wrap.
    Hiển thị:
    custom_bb_code_output.imgr
  • [PPT] - PowerPoint

    custom_bb_code_desc.ppt
    Ví dụ:
    [ppt]http://forum.dng.vn/files/demo.ppt[/ppt]
    Hiển thị:
    custom_bb_code_output.ppt
  • [TUBE] - Code nhạc chạy trên Youtube

    custom_bb_code_desc.tube
    Ví dụ:
    tube
    Hiển thị:
    custom_bb_code_output.tube
Top