Simple & Often Used HTML Codes

Posted by Nit Boh
6
Jun 9, 2008
664 Views
Image

Here you can find some of the most often used HTML and UBB codes for editing and linking you contents

HTML Codes

N.B: Simply replace the ?()? with ?<>?

 

Bold                    (b)content(/b)
Italics                 (i) content(/i)
Underlined              (u) content(/u)
Fontsize           (font size=14)content(/font)
Fontcolor               (fontcolor=?Green?)content(/font)
Hyperlink               (a href=?link?)content(/a)
Images                 (img src=?image link?)alt text(/img)

 

UBB Codes

Bold: Enclose your text with [b] and [/b] .  Example: This is [b]bold[/b] text. = This is bold text.

Italic: Enclose your text with [i] and [/i] .  Example: This is [i]italic[/i] text. = This is italic text.

Underline: Enclose your text with [u] and [/u]. Example: This is [u]underline[/u] text. = This is underline text.

Aligning Text Left:
Enclose your text with [left] and [/left]

Aligning Text Center:
Enclose your text with [center] and [/center]

Aligning Text Right:
Enclose your text with [right] and [/right]

Striking Text:
Enclose your text with [s] and [/s]
Example: [s]mistake[/s] = mistake

Horizontal Rule:
Place a horizontal line in your post with [hr]
Example: [hr] =


 

Font Colors:
Enclose your text with [fontcolor] and [/fontcolor]
Example: [red]Text[/red] =
Text
Example: [blue]Text[/blue] =
Text
Example: [pink]Text[/pink] =
Text
Example: [brown]Text[/brown] =
Text
Example: [black]Text[/black] =
Text
Example: [orange]Text[/orange] =
Text
Example: [violet]Text[/violet] =
Text
Example: [yellow]Text[/yellow] =
Text
Example: [green]Text[/green] =
Text
Example: [gold]Text[/gold] =
Text
Example: [white]Text[/white] =
Text
Example: [purple]Text[/purple] =
Text

 

Headings:
Enclose your text with [hnumber] and [/hn]

Example: [h1]Text[/h1] =

Text

Example: [h2]Text[/h2] =

Text

Example: [h3]Text[/h3] =

Text

Example: [h4]Text[/h4] =

Text

Example: [h5]Text[/h5] =

Text

Example: [h6]Text[/h6] =

Text

 

Font Sizes:
Example: [size=1]Text[/size=1] =
Text
Example: [size=2]Text[/size=2] = Text
Example: [size=3]Text[/size=3] =
Text
Example: [size=4]Text[/size=4] =
Text
Example: [size=5]Text[/size=5] =
Text
Example: [size=6]Text[/size=6] =
Text

 

Bulleted List: [list] and [/list], and items in list with [*] and [/*].

Ordered Alpha List: [list=a] and [/list=a], and items in list with [*] and [/*].

Ordered Number List: [list=1] and [/list=1], and items in list with [*] and [/*].

Code: Enclose your text with [code] and [/code].

Quote: Enclose your text with [quote] and [/quote].

Images: Enclose the address with one of the following:

?         [img] and [/img]

?         [img=right] and [/img=right]

?         [img=left] and [/img=left]

1 people like it
avatar
Comments
avatar
Please sign in to add comment.