Referensi Untuk Tag BBCode

Pada bagian ini, tabel referensi untuk semua tag bbcode lebih populer, disediakan. Beberapa dianggap standar dan harus didukung di hampir setiap pelaksanaan bbcode. Lainnya cenderung harus didukung, tapi tetap populer (maka alasan mereka telah disertakan di sini).

table.reference tr:nth-child(even){background-color:#ddd;} table.reference th{text-decoration:underline;text-align:center;border:2px solid #000;padding:5px;} table.reference td{padding-bottom:20px;} table.reference td.heading{font-weight:bold;} td.contenttd{ padding-left:10px;width:auto;} td.menutd{width:150px;} form{margin:0;padding:0;} label{font-size:11px;font-weight:bold;display:block;text-align:left;text-transform:uppercase;color:#432000;} img.logo{-moz-border-radius: 7px 7px 0px 0px; /* FF1+ */-webkit-border-radius: 7px 7px 0px 0px; /* Saf3+, Chrome */border-radius: 7px 7px 0px 0px; /* Opera 10.5, IE 9 */}

Name Syntax Purpose Example
Bold [b]{text}[/b] Makes {text} bold
Italic [i]{text}[/i] Makes {text} italic
Underline [u]{text}[/u] Underlines {text}
Line-through [s]{text}[/s] Create a line-through/strike through on {text}
Font-size [size={number}]{text}[/size] Changes the font-size of {text}
Font colour [color={colour}]{text}[/color] Changes the colour of {text}
Center text [center]{text}[/center] Centers {text} on screen
Quote [quote]{text}[/quote] Creates a quotation box containing {text}
Quote (named) [quote={name}]{text}[/quote] Creates a quotation box quoting {name} as saying {text}
Link [url]{url}[/url] Makes a link to {url} Linking with no link title
[url]http://www.bbcode.org/[/url]
Link (named) [url={url}]{text}[/url] Makes a named link to {url} Linking to a named site
[url=http://www.bbcode.org/]This be bbcode.org![/url]
Image [img]{url}[/img] Shows the image indicated by {url}
Image (resized) Full version: [img width={width} height={height} …]{url}[/img]

Another variant (shorthand): [img={width}x{height}]{url}[/img]

Shows {url} image resized to {width} and {height}
List Unordered list: [ul]{items}[/ul]

Ordered list: [ol]{items}[/ol]

Another variant: [list]{items}[/list]

Displays a list of {items}
List item [li]{text}[/li]

Shorthand: [*]{text}\newline

Species an {item} within a list
Code
{text}
Renders the {text} while maintaing all white spacing
Tables [table]{rows}[/table] Show a table with {rows} in it
Table rows [tr]{cells}[/tr] Renders a table row containing {cells}
Table content cells Heading cell: [th]{content}[/th]

Content cell: [td]{content}[/td]

Shows {content} in a table (heading) cell
Youtube videos Shows the youtube video indicated by {id}
GBtYiLFH85A is the id of the video, you can see it from the url on youtube
Google videos [gvideo]{id}[/gvideo] Shows the google video indicated by {id} [gvideo]3966673435136338279[/gvideo]
3966673435136338279 is the id of the video

Referensi: http://www.bbcode.org/reference.php

Perihal justdwijaya
Seorang blogger dari Jakarta yang ingin mencari teman dan peluang bisnis.

Apa Pendapat Kamu?

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s

%d blogger menyukai ini: