Basic and common html codes for quick reference! CTRL + D (internet explorer) to bookmark us!

IMPORTANT! 1. Replace the coloured red texts with appropriate values.
2. *** = please specify in pixels
3. Do not direct copy the codes if you are using HTML PROGRAMS like Frontpage because it will copy the redtext codes together, which will break the codes (this happens when the turn out codes are different from shown). To solve this, open Notepad (Start > Programs > Accesories > Notepad), copy the codes and paste them there. Recopy and paste back in Frontpage etc.
4. No problems found in friendster or myspace. You can direct copy the codes.

Google

Media Player Codes (audio and video):

Windows Media Player Video Code:

<embed name="RAOCXplayer" src="*Media URL*" type="application/x-mplayer2" width="***" height="***" ShowC."1" ShowStatusBar="1" AutoSize="true" EnableC."0" DisplaySize="0" pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/ Products/MediaPlayer/"></embed>

Real Player Video Code:

<embed src="*Media URL*" width="***" height="***" loop="true" type='audio/x-pn-realaudio-plugin' autostart="false"> </embed>


Flash:

Flash Video Code (.swf):

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="***" height="***" id="flash" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="*flash link*" />
<param name="quality" value="high" />
<param name="bgcolor" value="*six letter-digit web safe colour with a # in front*" />
<embed src="*flash link*" quality="high" bgcolor="*six letter-digit web safe colour with a # in front*" width="***" height="***" name="flash" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>


Flash link, web safe colour, width and height values must be the same. I mean, if the height value is 400, then at the another height value must be 400. If the bgcolor value is #000000, then at the onother bgcolor it should be #000000.


Linking:

Text link:

<a href="*the URL*">*text*</a>

Open a text link in a new window:

<a href="*the URL*" target="_blank">*text*</a>

Picture a link:

<a href="*the URL*"><img src="*image URL*" border="0"></a> 

Open a picture link in a new window:

<a href="*the URL*" target="_blank"><img src="*image URL*" border="0"></a> 

Pictures:

Show picture in default size:

<img src="*image URL*" border="0">

Show picture in a specific size:

<img src="*image URL*" height="***" width="***" border="0">

Fonts:

Center everything:
<center>*anything goes here*</center>


Change text colour:

<font color=*colour*>*text*</font>

Change font size (h1 largest, h6 smallest)

<h1>*text*</1>
<h2>*text*</h2>
<h3>*text*</h3>
<h4>*text*</h4>
<h5>*text*</h5>
<h6>*text*</h6>

Bold text

<b>*text*</b>

Italic text

<i>*text*</i>

Underline text

<u>*text*</u>

Go down a line

<br>

*html example:
hi,
my name is
Jason.


New paragraph

<p>

*html example:
hi,

my name is

Jason.

COMMON HTML COLORS

HTML name
IndianRed
LightCoral
Salmon
DarkSalmon
LightSalmon
Crimson
Red
FireBrick
DarkRed
Pink
LightPink
HotPink
DeepPink
MediumVioletRed
PaleVioletRed
LightSalmon
Coral
Tomato
OrangeRed
DarkOrange
Orange
Gold
Yellow
LightYellow
LemonChiffon
LightGoldenrodYellow
PapayaWhip
Moccasin
PeachPuff
PaleGoldenrod
Khaki
DarkKhaki
Lavender
Thistle
Plum
Violet
Orchid
Fuchsia
Magenta
MediumOrchid
MediumPurple

BlueViolet

DarkViolet
HTML name
DarkOrchid
DarkMagenta
Purple
Indigo
SlateBlue
DarkSlateBlue
GreenYellow
Chartreuse
LawnGreen
Lime
LimeGreen
PaleGreen
LightGreen
MediumSpringGreen
SpringGreen
MediumSeaGreen
SeaGreen
ForestGreen
Green
DarkGreen
YellowGreen
OliveDrab
Olive
DarkOliveGreen
MediumAquamarine
DarkSeaGreen
LightSeaGreen
DarkCyan
Teal
Aqua
Cyan
LightCyan
PaleTurquoise
Aquamarine
Turquoise
MediumTurquoise
DarkTurquoise
CadetBlue
SteelBlue
LightSteelBlue
PowderBlue
LightBlue
SkyBlue
HTML name
LightSkyBlue
DeepSkyBlue
DodgerBlue
CornflowerBlue
MediumSlateBlue
RoyalBlue
Blue
MediumBlue
DarkBlue
Navy
MidnightBlue
Cornsilk
BlanchedAlmond
Bisque
NavajoWhite
Wheat
BurlyWood
Tan
RosyBrown
SandyBrown
Goldenrod
DarkGoldenrod
Peru
Chocolate
SaddleBrown
Sienna
Brown
Maroon
White
GhostWhite
Azure
Beige
AntiqueWhite
MistyRose
Gainsboro
LightGrey
Silver
DarkGray
Gray
DimGray
LightSlateGray
DarkSlateGray
Black

WEB SAFE COLORS
*usually, a web safe color is expressed with a # in front. Example #C36.
A web safe color can also be expressed in a six letter-digit form.
Example #C36 can also be expressed in #CC3366 form

000 300 600 900 C00 F00 003 303 603 903 C03 F03
006 306 606 906 C06 F06 009 309 609 909 C09 F09
00C 30C 60C 90C C0C F0C 00F 30F 60F 90F C0F F0F
030 330 630 930 C30 F30 033 333 633 933 C33 F33
036 336 636 936 C36 F36 039 339 639 939 C39 F39
03C 33C 63C 93C C3C F3C 03F 33F 63F 93F C3F F3F
060 360 660 960 C60 F60 063 363 663 963 C63 F63
066 366 666 966 C66 F66 069 369 669 969 C69 F69
06C 36C 66C 96C C6C F6C 06F 36F 66F 96F C6F F6F
090 390 690 990 C90 F90 093 393 693 993 C93 F93
096 396 696 996 C96 F96 099 399 699 999 C99 F99
09C 39C 69C 99C C9C F9C 09F 39F 69F 99F C9F F9F
0C0 3C0 6C0 9C0 CC0 FC0 0C3 3C3 6C3 9C3 CC3 FC3
0C6 3C6 6C6 9C6 CC6 FC6 0C9 3C9 6C9 9C9 CC9 FC9
0CC 3CC 6CC 9CC CCC FCC 0CF 3CF 6CF 9CF CCF FCF
0F0 3F0 6F0 9F0 CF0 FF0 0F3 3F3 6F3 9F3 CF3 FF3
0F6 3F6 6F6 9F6 CF6 FF6 0F9 3F9 6F9 9F9 CF9 FF9
0FC 3FC 6FC 9FC CFC FFC 0FF 3FF 6FF 9FF CFF FFF

Google

HTML colour chart taken from wikipedia, the free encyclopedia.
http://quickhtml.blogspot.com is no way connected to wikipedia.
2006 http://quickhtml.blogspot.com . All rights reserved.