Recent Movies

HTML TAGS AND THEIR USES


Tag
What it is
When to use it
<a>
Anchor (most commonly a link)
Vital. Use to create links in content. Use the title attribute whenever the contents of the <a>…</a> pair do not accurately describe what you’ll get from selecting the link. Title attribute often displays as a tooltip in visual browsers, which may be a helpful usability aid.
<abbr>
Defines an abbreviation
Works in a similar way to <dfn> and <acronym>, using a title attribute (displays a tooltip in standard visual browsers). e.g. <abbr title=”Hypertext markup language”>HTML</abbr>
<ACRONYM>
Defines an acronym
Works in a similar way to <abbr> and <dfn>, using a title attribute (displays a tooltip in standard visual browsers).
<ADDRESS>
Used for marking up a physical (e.g. mailing) address
Not commonly used. Recommend looking into microformats, which allow for more detail and interoperability.
<APPLET>
Inserts a Java applet
The old way to insert a Java app. Use <object> instead today.
<AREA>
Hotspot in image map
Avoid image maps where possible. Occasionally necessary.
<BASE>
Specifies the base location of the document.
Use only when necessary. Adjusts any relative links and paths within the document.
<BASEFONT>
Sets default font size
Display info – never use it
<BIG>
Larger text
Display info – never use it
<BLINK>
Makes text blink
You go to hell if you use this
<BLOCKQUOTE>
Large quoted block of text
Use for any quoted text that constitutes one or more paragraphs (note: should contain <p> tags as well). Use <q> for quotations within a paragraph. Often used in conjunction with <cite> to cite the quotation’s source.
<BODY>
Document body
Essential (unless you’re using frames)
<BR>
Line break
This is arguably display information. Still in common use, but use with restraint.
<B>
Bold text
Display info – never use it
<BUTTON>
Used for a standard clickable button within a form
Often better than <input type=”button” /> or <input type=”submit” />, as it allows you to assign different styles based on the HTML element alone, whereas differentiating style based on the type of input is less well supported.
<CAPTION>
Caption for a table: describes the table’s contents
The correct way to assign a title to a table
<CENTER>
Centred block
Display info – never use it. Use <div> or some other block-level tag with the style text-align:center instead
<CITE>
Defines a citation
Defines the source of a quotation (in conjunction with content in <q> or <blockquote> pairs).
<CODE>
Defines an extract of code
Not commonly used. Similar to <pre> tag, but collapses consecutive white spaces and line breaks in the source.
<COL>
Identifies a particular column in a table
Can be very useful. e.g. <col class=”namecol”> can be applied to each first column in a series of tables, then the width of each column may be set to be equal in the stylesheet, overriding the table’s natural tendency to adjust its own column widths to fit its contents.
<DFN>
Definition of a term
Works in a similar way to <abbr> and <acronym>, using a title attribute (displays a tooltip in standard visual browsers).
<DIR>
Directory list
Now deprecated. Use a standard <ul> or other list instead.
<DIV>
Division
Specifies a logical division within a document. Use it to separate or identify chunks of content that are not otherwise distinguished naturally using other tags.
One of the most common HTML tags.
<DL>
Definition list
Contains one or more definition-term / definition-description pairs.
<DT>
Definition term
Used as part of a <dt></dt><dd></dd> pair within a definition list (<dl></dl>)
<DD>
Definition description
<EM>
Emphasis
Commonly used in place of the old <i> (italics) tag to indicate emphasis (but less than <strong>)
<FONT>
Font settings
Display info – never use it
<FORM>
Input form
Essential for data input
<H1>
Level 1 header
Aim to have one H1 on each page, containing a description of what the page is about.
<H2>
Level 2 header
Defines a section of the page
<H3>
Level 3 header
Defines a sub-section of the page (should always follow an H2 in the logical hierarchy)
<H4>
Level 4 header
Etc. Less commonly used
<H5>
Level 5 header
Less commonly used. Only complex academic documents will break down to this level of detail.
<H6>
Level 6 header
Less commonly used
<HEAD>
Document head
Essential. Contains information about a page that does not constitute content to be communicated as part of the page.
<HR>
Horizontal rule
Display info with no semantic value – never use it. “Horizontal”, by definition, is a visual attribute.
<HTML>

Core element of every web page.
<IMG >
Show an image
Vital. Always use the alt or longdesc attributes when the image has content value
<INPUT>
Input fields within forms
Vital. (I prefer to use <button> for buttons and submit buttons though)
<ISINDEX>
Old type of search input
Not really used any more. Use <form> instead.
<I>
Italicised text
Display info – never use it
<KBD>
Keyboard input
Display info – never use it
<LINK>
Defines a relationship to another document
Commonly used to reference external stylesheets, but has other minor uses
<LI>
List item
Specifies an item in an unordered or ordered list (<ul> or <ol>)
<MAP>
Client-side imagemap
May have occasional value, but only use when absolutely necessary
<MARQUEE>
Makes text scroll across the screen
See <blink>
<MENU>
Menu item list
Deprecated. Do not use. Use other standard list types instead.
<META>
Meta-information
Useful way to insert relevant information into the <head> section of the page that does not need to be displayed.
<OL>
Ordered list
Type of list where the order of elements has some meaning. Generally rendered with item numbers (best managed with CSS).
<OPTION>
Selection list option
Vital for options within a drop-down control.
<PARAM>
Parameter for Java applet
Used in conjunction with an <object> or <applet> tag to pass additional setting information at runtime.
<PRE>
Preformatted text
Renders text in a pre-formatted style, preserving line breaks and all spaces present in the source. May be useful. (This one’s a paradox, as it is strictly display info that applies only to visual browsing, but it’s still so commonly used and useful that I’m hesitant to advise against using it.)
<P>
Paragraph
Only use to denote a paragraph of text. Never use for spacing alone.
<Q>
Short quotation
Use for inline quotations (whereas <blockquote> should be used for quotations of a paragraph or more). Often used in conjunction with <cite> to cite the quotation’s source.
<SAMP>
Denotes sample output text
Similar to the <code> tag. Rarely used. Avoid.
<SCRIPT>
Inline script (e.g. JavaScript)
It’s better to have all scripts as separate files than to write inline or in the <head> section, however still has its uses.
<SELECT>
Selection list
A drop-down selector for a form.
<SMALL>
Smaller text
Display info – never use it
<SPAN>
An inline span within text
Use to apply meaning (and style) to a span of text that goes with the flow of content (whereas a <div> tag is block-level and breaks the flow)
<Strikeout>

Display info – never use it
<STRONG>
Strong emphasis
Use this instead of the old <b> tag.
<STYLE>
CSS style settings
Normally used in <head> section of a page. Try to use external stylesheets, to enable you to apply different styles for different output media.
<SUB>
Subscript text
Arguably display info – recommend using alternative tags (e.g. <cite>). May be required in some academic uses, e.g. Chemical formulas.
<SUP>
Superscript text
<TABLE>
Table
Use for repeated data that has a naturally tabular form. Never use for layout purposes.
<TD>
Table data cell
A cell containing actual data. If a cell actually contains a descriptor or identifier for a row or column, use a <th> (table header) tag, not a <td>. This usually applies to column headers (within a <thead>), column footers (within a <tfoot>), as well as row headers (usually the first cell in a row in the <tbody>).
<TEXTAREA>
Multi-line text input area in a form
Essential
<TH>
Table column or row header cell
May appear in a <thead> (to denote a column header cell), <tbody> (to denote a row header), and in <tfoot> (to denote a column foot cell, e.g. a total)
<TBODY>
Indicates the main body of a data table
It is always worth using this tag, as well as using <thead> and <tfoot> where appropriate.
Note that it is permissible to have more than one <tbody>, <thead>, and <tfoot> in the same table.
<THEAD>
The head section of a table
The place to put column header cells (<th>)
<TFOOT>
The foot section of a table
Good place to put e.g. summary data, such as totals. Note that it goes before the <tbody> tag!
<TITLE>
Document title
Essential
<TR>
Table row
Essential with tables
<TT>
“Teletype” - simulates typewriter output
Similar to <pre>, except that it collapses white space like normal HTML (whereas <pre> leaves all consecutive white space intact). Avoid if possible
<UL>
Unordered list
Essential. Use for lists where the order or items has no particular importance.
<U>
Underline text
Display info – never use it
<VAR>
Variable in computer code
Obscure tag, may only be useful in academic documents. Avoid.
   

HTML COLOR CODES

 



Below, are some of the common color names and codes. With these colors, you can also use the color name. For example, in HTML tags and CSS that use color codes you could use "red" instead of #FF0000.

Color NameColor CodeColor NameColor Code
Red#FF0000White#FFFFFF
Cyan#00FFFFSilver#C0C0C0
Blue#0000FFGray or Grey#808080
DarkBlue#0000A0Black#000000
LightBlue#ADD8E6Orange#FFA500
Purple#800080Brown#A52A2A
Yellow#FFFF00Maroon#800000
Lime#00FF00Green#008000
Magenta#FF00FFOlive#808000

Color NameCodeColor
Black#000000Black
Gunmetal#2C3539Gunmetal
Midnight#2B1B17Midnight
Charcoal#34282CCharcoal
Dark Slate Gray#25383CDark Slate Grey
Oil#3B3131Oil
Black Cat#413839Black Cat
Black Eel#463E3FBlack Eel
Black Cow#4C4646Black Cow
Gray Wolf#504A4BGray Wolf
Vampire Gray#565051Vampire Gray
Gray Dolphin#5C5858Gray Dolphin
Carbon Gray#625D5DCarbon Gray
Ash Gray#666362Ash Gray
Cloudy Gray#6D6968Cloudy Gray
Smokey Gray#726E6DSmokey Gray
Gray#736F6EGray
Granite#837E7CGranite
Battleship Gray#848482Battleship Gray
Gray Cloud#B6B6B4Gray Cloud
Gray Goose#D1D0CEGray Goose
Platinum#E5E4E2Platinum
Metallic Silver#BCC6CCMetallic Silver
Blue Gray#98AFC7Blue Gray
Light Slate Gray#6D7B8DLight Slate Gray
Slate Gray#657383Slate Gray
Jet Gray#616D7EJet Gray
Mist Blue#646D7EMist Blue
Marble Blue#566D7EMarble Blue
Slate Blue#737CA1Slate Blue
Steel Blue#4863A0Steel Blue
Blue Jay#2B547EBlue Jay
Dark Slate Blue#2B3856Dark Slate Blue
Midnight Blue#151B54Midnight Blue
Navy Blue#000080Navy Blue
Blue Whale#342D7EBlue Whale
Lapis Blue#15317ELapis Blue
Cornflower Blue#151B8DCornflower Blue
Earth Blue#0000A0Earth Blue
Cobalt Blue#0020C2Cobalt Blue
Blueberry Blue#0041C2Blueberry Blue
Sapphire Blue#2554C7Sapphire Blue
Blue Eyes#1569C7Blue Eyes
Royal Blue#2B60DERoyal Blue
Blue Orchid#1F45FCBlue Orchid
Blue Lotus#6960ECBlue Lotus
Light Slate Blue#736AFFLight Slate Blue
Slate Blue#357EC7Slate Blue
Silk Blue#488AC7Silk Blue
Blue Ivy#3090C7Blue Ivy
Blue Koi#659EC7Blue Koi
Columbia Blue#87AFC7Columbia Blue
Baby Blue#95B9C7Baby Blue
Light Steel Blue#728FCELight Steel Blue
Ocean Blue#2B65ECOcean Blue
Blue Ribbon#306EFFBlue Ribbon
Blue Dress#157DECBlue Dress
Dodger Blue#1589FFDodger Blue
Cornflower Blue#6495EDCornflower Blue
Sky Blue#6698FFSky Blue
Butterfly Blue#38ACECButterfly Blue
Iceberg#56A5ECIceberg
Crystal Blue#5CB3FFCrystal Blue
Deep Sky Blue#3BB9FFDeep Sky Blue
Denim Blue#79BAECDenim Blue
Light Sky Blue#82CAFALight Sky Blue
Sky Blue#82CAFFSky Blue
Jeans Blue#A0CFECJeans Blue
Blue Angel#B7CEECBlue Angel
Pastel Blue#B4CFECPastel Blue
Sea Blue#C2DFFFSea Blue
Powder Blue#C6DEFFPowder Blue
Coral Blue#AFDCECCoral Blue
Light Blue#ADDFFFLight Blue
Robin Egg Blue#BDEDFFRobin Egg Blue
Pale Blue Lily#CFECECPale Blue Lily
Light Cyan#E0FFFFLight Cyan
Water#EBF4FAWater
AliceBlue#F0F8FFAliceBlue
Azure#F0FFFFAzure
Light Slate#CCFFFFLight Slate
Light Aquamarine#93FFE8Light Aquamarine
Electric Blue#9AFEFFElectric Blue
Aquamarine#7FFFD4Aquamarine
Cyan or Aqua#00FFFFCyan or Aqua
Tron Blue#7DFDFETron Blue
Blue Zircon#57FEFFBlue Zircon
Blue Lagoon#8EEBECBlue Lagoon
Celeste#50EBECCeleste
Blue Diamond#4EE2ECBlue Diamond
Tiffany Blue#81D8D0Tiffany Blue
Cyan Opaque#92C7C7Cyan Opaque
Blue Hosta#77BFC7Blue Hosta
Northern Lights Blue#78C7C7Northern Lights Blue
Medium Turquoise#48CCCDMedium Turquoise
Turquoise#43C6DBTurquoise
Jellyfish#46C7C7Jellyfish
Mascaw Blue Green#43BFC7Mascaw Blue Green
Light Sea Green#3EA99FLight Sea Green
Dark Turquoise#3B9C9CDark Turquoise
Sea Turtle Green#438D80Sea Turtle Green
Medium Aquamarine#348781Medium Aquamarine
Greenish Blue#307D7EGreenish Blue
Grayish Turquoise#5E7D7EGrayish Turquoise
Beetle Green#4C787EBeetle Green
Teal#008080Teal
Sea Green#4E8975Sea Green
Camouflage Green#78866BCamouflage Green
Hazel Green#617C58Hazel Green
Venom Green#728C00Venom Green
Fern Green#667C26Fern Green
Dark Forrest Green#254117Dark Forrest Green
Medium Sea Green#306754Medium Sea Green
Medium Forest Green#347235Medium Forest Green
Seaweed Green#437C17Seaweed Green
Pine Green#387C44Pine Green
Jungle Green#347C2CJungle Green
Shamrock Green#347C17Shamrock Green
Medium Spring Green#348017Medium Spring Green
Forest Green#4E9258Forest Green
Green Onion#6AA121Green Onion
Spring Green#4AA02CSpring Green
Lime Green#41A317Lime Green
Clover Green#3EA055Clover Green
Green Snake#6CBB3CGreen Snake
Alien Green#6CC417Alien Green
Green Apple#4CC417Green Apple
Yellow Green#52D017Yellow Green
Kelly Green#4CC552Kelly Green
Zombie Green#54C571Zombie Green
Frog Green#99C68EFrog Green
Green Peas#89C35CGreen Peas
Dollar Bill Green#85BB65Dollar Bill Green
Dark Sea Green#8BB381Dark Sea Green
Iguana Green#9CB071Iguana Green
Avocado Green#B2C248Avocado Green
Pistachio Green#9DC209Pistachio Green
Salad Green#A1C935Salad Green
Hummingbird Green#7FE817Hummingbird Green
Nebula Green#59E817Nebula Green
Stoplight Go Green#57E964Stoplight Go Green
Algae Green#64E986Algae Green
Jade#5EFB6EJade Green
Green#00FF00Green
Emerald Green#5FFB17Emerald Green
Lawn Green#87F717Lawn Green
Chartreuse#8AFB17Chartreuse
Dragon Green#6AFB92Dragon Green
Mint Green#98FF98Mint green
Green Thumb#B5EAAAGreen Thumb
Light Jade#C3FDB8Light Jade
Tea Green#CCFB5DTea Green
Green Yellow#B1FB17Green Yellow
Slime Green#BCE954Slime Green
Goldenrod#EDDA74Goldenrod
Harvest Gold#EDE275Harvest Gold
Sun Yellow#FFE87CSun Yellow
Yellow#FFFF00Yellow
Corn Yellow#FFF380Corn Yellow
Parchment#FFFFC2Parchment
Cream#FFFFCCCream
Lemon Chiffon#FFF8C6Lemon Chiffon
Cornsilk#FFF8DCCornsilk
Beige#F5F5DCBeige
AntiqueWhite#FAEBD7AntiqueWhite
BlanchedAlmond#FFEBCDBlanchedAlmond
Vanilla#F3E5ABVanilla
Tan Brown#ECE5B6Tan Brown
Peach#FFE5B4Peach
Mustard#FFDB58Mustard
Rubber Ducky Yellow#FFD801Rubber Ducky Yellow
Bright Gold#FDD017Bright Gold
Golden#EAC117Golden brown
Macaroni and Cheese#F2BB66Macaroni and Cheese
Saffron#FBB917Saffron
Beer#FBB117Beer
Cantaloupe#FFA62FCantaloupe
Bee Yellow#E9AB17Bee Yellow
Brown Sugar#E2A76FBrown Sugar
BurlyWood#DEB887BurlyWood
Deep Peach#FFCBA4Deep Peach
Ginger Brown#C9BE62Ginger Brown
School Bus Yellow#E8A317School Bus Yellow
Sandy Brown#EE9A4DSandy Brown
Fall Leaf Brown#C8B560Fall Leaf Brown
Gold#D4A017Gold
Sand#C2B280Sand
Cookie Brown#C7A317Cookie Brown
Caramel#C68E17Caramel
Brass#B5A642Brass
Khaki#ADA96EKhaki
Camel brown#C19A6BCamel brown
Bronze#CD7F32Bronze
Tiger Orange#C88141Tiger Orange
Cinnamon#C58917Cinnamon
Dark Goldenrod#AF7817Dark Goldenrod
Copper#B87333Copper
Wood#966F33Wood
Oak Brown#806517Oak Brown
Moccasin#827839Moccasin
Army Brown#827B60Army Brown
Sandstone#786D5FSandstone
Mocha#493D26Mocha
Taupe#483C32Taupe
Coffee#6F4E37Coffee
Brown Bear#835C3BBrown Bear
Red Dirt#7F5217Red Dirt
Sepia#7F462CSepia
Orange Salmon#C47451Orange Salmon
Rust#C36241Rust
Red Fox#C35817Red Fox
Chocolate#C85A17Chocolate
Sedona#CC6600Sedona
Papaya Orange#E56717Papaya Orange
Halloween Orange#E66C2CHalloween Orange
Pumpkin Orange#F87217Pumpkin Orange
Construction Cone Orange#F87431Construction Cone Orange
Sunrise Orange#E67451Sunrise Orange
Mango Orange#FF8040Mango Orange
Dark Orange#F88017Dark Orange
Coral#FF7F50Coral
Basket Ball Orange#F88158Basket Ball Orange
Light Salmon#F9966BLight Salmon
Tangerine#E78A61Tangerine
Dark Salmon#E18B6BDark Salmon
Light Coral#E77471Light Coral
Bean Red#F75D59Bean Red
Valentine Red#E55451Valentine Red
Shocking Orange#E55B3CShocking Orange
Red#FF0000Red
Scarlet#FF2400Scarlet
Ruby Red#F62217Ruby Red
Ferrari Red#F70D1AFerrari Red
Fire Engine Red#F62817Fire Engine Red
Lava Red#E42217Lava Red
Love Red#E41B17Love Red
Grapefruit#DC381FGrapefruit
Chestnut Red#C34A2CChestnut Red
Cherry Red#C24641Cherry Red
Mahagany#C04000Mahogany
Chilli Pepper#C11B17Chilli Pepper
Cranberry#9F000FCranberry
Red Wine#990012Red Wine
Burgundy#8C001ABurgundy
Blood Red#7E3517Blood Red
Sienna#8A4117Sienna
Sangria#7E3817Sangria
Firebrick#800517Firebrick
Maroon#810541Maroon
Plum Pie#7D0541Plum Pie
Velvet Maroon#7E354DVelvet Maroon
Plum Velvet#7D0552Plum Velvet
Rosy Finch#7F4E52Rosy Finch
Puce#7F5A58Puce
Dull Purple#7F525DDull Purple
Rosy Brown#B38481Rosy Brown
Khaki Rose#C5908EKhaki Rose
Pink Bow#C48189Pink Bow
Lipstick Pink#C48793Lipstick Pink
Rose#E8ADAARose
Desert Sand#EDC9AFDesert Sand
Pig Pink#FDD7E4Pig Pink
Cotton Candy#FCDFFFCotton Candy
Pink Bubblegum#FFDFDDPink Bubblegum
Misty Rose#FBBBB9Misty Rose
Pink#FAAFBEPink
Light Pink#FAAFBALight Pink
Flamingo Pink#F9A7B0Flamingo Pink
Pink Rose#E7A1B0Pink Rose
Pink Daisy#E799A3Pink Daisy
Cadillac Pink#E38AAECadillac Pink
Carnation Pink#F778A1Carnation Pink
Blush Red#E56E94Blush Red
Hot Pink#F660ABHot Pink
Watermelon Pink#FC6C85Watermelon Pink
Violet Red#F6358AViolet Red
Deep Pink#F52887Deep Pink
Pink Cupcake#E45E9DPink Cupcake
Pink Lemonade#E4287CPink Lemonade
Neon Pink#F535AANeon Pink
Magenta#FF00FFMagenta
Dimorphotheca Magenta#E3319D Dimorphotheca Magenta
Bright Neon Pink#F433FFBright Neon Pink
Pale Violet Red#D16587Pale Violet Red
Tulip Pink#C25A7CTulip Pink
Medium Violet Red#CA226BMedium Violet Red
Rogue Pink#C12869Rogue Pink
Burnt Pink#C12267Burnt Pink
Bashful Pink#C25283Bashful Pink
Carnation Pink#C12283Carnation Pink
Plum#B93B8FPlum
Viola Purple#7E587EViola Purple
Purple Iris#571B7EPurple Iris
Plum Purple#583759Plum Purple
Indigo#4B0082Indigo
Purple Monster#461B7EPurple Monster
Purple Haze#4E387EPurple Haze
Eggplant#614051Eggplant
Grape#5E5A80Grape
Purple Jam#6A287EPurple Jam
Dark Orchid#7D1B7EDark Orchid
Purple Flower#A74AC7Purple Flower
Medium Orchid#B048B5Medium Orchid
Purple Amethyst#6C2DC7Purple Amethyst
Dark Violet#842DCEDark Violet
Violet#8D38C9Violet
Purple Sage Bush#7A5DC7Purple Sage Bush
Lovely Purple#7F38ECLovely Purple
Purple#8E35EFPurple
Aztech Purple#893BFFAztech Purple
Medium Purple#8467D7Medium Purple
Jasmine Purple#A23BECJasmine Purple
Purple Daffodil#B041FFPurple Daffodil
Tyrian Purple#C45AECTyrian Purple
Crocus Purple#9172ECCrocus Purple
Purple Mimosa#9E7BFFPurple Mimosa
Heliotrope Purple#D462FFHeliotrope Purple
Crimson#E238ECCrimson
Purple Dragon#C38EC7Purple Dragon
Lilac#C8A2C8Lilac
Blush Pink#E6A9ECBlush Pink
Mauve#E0B0FFMauve
Wiseria Purple#C6AEC7Wiseria Purple
Blossom Pink#F9B7FFBlossom Pink
Thistle#D2B9D3Thistle
Periwinkle#E9CFECPeriwinkle
Lavender Pinocchio#EBDDE2Lavender Pinocchio
Lavender#E3E4FALavender
Pearl#FDEEF4Pearl
SeaShell#FFF5EESeaShell
Milk White#FEFCFFMilk White
White#FFFFFFWhite
Powered by Blogger.
 
Support : Creating Website | Johny Template | Mas Template
Copyright © 2011. html - All Rights Reserved
Template Created by Creating Website Published by Mas Template
Proudly powered by Blogger