BB Codes
-
[B], [I], [U], [S] - Bold, Italics, Underline, and Strike-through
Makes the wrapped text bold, italic, underlined, or struck-through.
- Example:
- 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.
- Output:
- 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.
- Example:
- 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.
- Output:
- 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.
- Example:
- [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.
- Example:
- [URL=http://www.example.com]Go to example.com[/URL]
[EMAIL=example@example.com]Email me[/EMAIL]
- Output:
- 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.
- Example:
- [USER=1]Tên thành viên[/USER]
- Output:
- Tên thành viên
-
[IMG] - Image
Display an image, using the wrapped text as the URL.
- Example:
- [IMG]https://tinhte.vn/styles/uiflex/xenforo/avatars/avatar_s.png[/IMG]
- Output:
-
[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. Approved sites: 247Sports; 8tracks; ABC News; Acast; Amazon Product; Anchor; Audioboom; Audiomack; Audius; Bandcamp; BBC News; BitChute; Bleacher Report videos; Brightcove; Bunny Stream; Castos; CBS News Video; Clyp; CNBC; CNN; CNNMoney; CodePen; Comedy Central; Coub; Dailymotion; Democracy Now!; dumpert; ESPN; Facebook; Falstad Circuit Simulator; Flickr; Fox News; Funny or Die; GameClips.io; Gamer DVR; Gamespot; Getty Images; Gfycat; Gifs.com; GIPHY; GitHub Gist; Global News; GoFundMe; Google Drive; Google Sheets; Google+; Hudl; Hulu; IGN; IMDb trailers; Imgur; Indiegogo; infogr.am; Instagram; Internet Archive; İzlesene; JSFiddle; JW Platform; Kaltura; Kickstarter; Kontinental Hockey League (КХЛ); Libsyn; Liveleak; Livestream; Mail.Ru; Mastodon; Medium; Megaphone; Metacafe; Mixcloud; MLB; MRCTV; MSNBC; National Geographic Channel; National Geographic Video; NBC News; NBC Sports; NHL Videos and Highlights; NPR; Orfium; Pastebin; Pinterest; Podbean; Prezi; Reddit threads and comments; Rumble; Rutube; Scribd; Sendvid; SlideShare; SoundCloud; Sporcle; Sportsnet; Spotify; Spreaker; Steam store; Stitcher; Straw Poll; Streamable; Streamja; Team Coco; TED Talks; Telegram; The Atlantic Video; The Guardian (obsolete); The New York Times Video; The Onion; The Wall Street Journal Online; Threads; TikTok; TMZ; TradingView; Trailer Addict; Trending Views; Tumblr; Twitch; Twitter; Ustream; VBOX7; Veoh; Vevo; Video Detective; Vimeo; Vine; VK; Vocaroo; Vox; Washington Post Video; Wavekit; Wistia; WorldStarHipHop; Youku; YouMaker; YouTube;
- Example:
- [MEDIA=youtube]oHg5SJYRHA0[/MEDIA]
- Output:
- An embedded YouTube player would appear here.
-
[LIST] - Lists
Displays a bulleted or numbered list.
- Example:
- [LIST]
[*]Bullet 1
[*]Bullet 2
[/LIST]
[LIST=1]
[*]Entry 1
[*]Entry 2
[/LIST]
- Output:
- Bullet 1
- Bullet 2
- Entry 1
- Entry 2
-
[LEFT], [CENTER], [RIGHT] - Text Alignment
Changes the alignment of the wrapped text.
- Example:
- [LEFT]Left-aligned[/LEFT]
[CENTER]Center-aligned[/CENTER]
[RIGHT]Right-aligned[/RIGHT]
- Output:
- 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.
- Example:
- [QUOTE]Quoted text[/QUOTE]
[QUOTE=A person]Something they said[/QUOTE]
- Output:
-
[SPOILER] - Text Containing Spoilers
Hides text that may contain spoilers so that it must be clicked by the viewer to be seen.
- Example:
- [SPOILER]Simple spoiler[/SPOILER]
[SPOILER=Spoiler Title]Spoiler with a title[/SPOILER]
- Output:
- Simple quotequote with a title
-
[CODE], [PHP], [HTML] - Programming Code Display
Displays text in one of several programming languages, highlighting the syntax where possible.
- Example:
- [CODE]General
code[/CODE]
[PHP]echo $hello . 'world';[/PHP]
- Output:
- Code:
General code
PHP:echo $hello . 'world';
-
[INDENT] - Text Indent
Indents the wrapped text. This can be nested for larger indentings.
- Example:
- Regular text
[INDENT]Indented text
[INDENT]More indented[/INDENT]
[/INDENT]
- Output:
- Regular text
Indented text
More indented
-
[PLAIN] - Plain Text
Disables BB code translation on the wrapped text.
- Example:
- [PLAIN]This is not [B]bold[/B] text.[/PLAIN]
- Output:
- 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.
- Example:
-
Thumbnail: [ATTACH]123[/ATTACH]
Full Size: [ATTACH=full]123[/ATTACH]
- Output:
- The contents of the attachments would appear here.
-
[COMPARE], [COMPARE=option] - Photo Compare
Compare 2 photos
- Example:
- [compare]
[img]http://placehold.it/400x200&text=1[/img]
[img]http://placehold.it/400x200&text=2[/img]
[/compare]
[compare=vertical]
[img]http://placehold.it/400x200&text=1[/img]
[img]http://placehold.it/400x200&text=2[/img]
[/compare]
- Output:
-
[GALLERY=option] - Media Gallery Embed
BB code for using XenForo Media Gallery media in posts.
- Example:
- [GALLERY=media, X]Gallery BB Code[/GALLERY]
- Output:
- [GALLERY=media, X]Gallery BB Code[/GALLERY]
-
[GOOGLE_MAPS] - Google Maps Embed
Embed Google Maps
- Example:
- [google_maps]!1m0!3m2!1sen!2s!4v1463625004801!6m8!1m7!1sApVYVqhvjmC1L2nXDTLOMA!2m2!1d48.85434467168724!2d2.350090465865356!3f54.67235198804957!4f0!5f0.7820865974627469[/google_maps]
- Output:
-
[INFO], [INFO=option] - Highlight specific information
Highlight specific information
- Example:
- [info]this information will be display as specific block[/info]
Display info until: 31/12/2030 (DD/MM/YYYY)
[info="expires:31/12/2030"]This content will disappear after 31/12/2030[/info]
- Output:
- this information will be display as specific block
Display info until: 31/12/2030 (DD/MM/YYYY)
This content will disappear after 31/12/2030
-
[PREVIEW] - Link Preview
Show a preview of the wrapped link.
- Example:
- [PREVIEW]https://xenforo.com[/PREVIEW]
-
[RATIO=option] - Responsive Media
Display embedded media with predefined ratio which works across different browser width.
- Example:
- [RATIO=4/3][MEDIA=youtube]jNQXAC9IVRw[/MEDIA][/RATIO]
- Output:
-
[TABLE] - Table
- Example:
- [TABLE]
name,color,price
iPhone 11,Black,11000000
iPhone 12,White,20000000
iPhone 13,Black,22000000
[/TABLE]
- Output:
name color price iPhone 11 Black 11000000 iPhone 12 White 20000000 iPhone 13 Black 22000000