Attributes provide additional information about HTML elements.
HTML Attributes
- HTML elements can have attributes
- Attributes provide additional information about an element
- Attributes are always specified in the start tag
- Attributes come in name/value pairs like: name="value"
Attribute Example
HTML links are defined with the <a> tag. The link address is specified in the href attribute:
Example
|
Always Quote Attribute Values
Attribute values should always be enclosed in quotes.
Double style quotes are the most common, but single style quotes are also allowed.
Tip: In some rare situations, when the attribute value itself contains quotes, it is necessary to use single quotes: name='John "ShotGun" Nelson'
HTML Tip: Use Lowercase Attributes
Attribute names and attribute values are case-insensitive.
However, the World Wide Web Consortium (W3C) recommends lowercase attributes/attribute values in their HTML 4 recommendation.
Newer versions of (X)HTML will demand lowercase attributes.
HTML Attributes Reference
A complete list of legal attributes for each HTML element is listed in our:
Below is a list of some attributes that are standard for most HTML elements:
Attribute | Value | Description |
---|---|---|
class | classname | Specifies a classname for an element |
id | id | Specifies a unique id for an element |
style | style_definition | Specifies an inline style for an element |
title | tooltip_text | Specifies extra information about an element (displayed as a tool tip) |
For more information about standard attributes:
honest hackerz
video
Labels
- antivirus an internet security
- BACKUP AND RECOVERY TOOLS
- BASIC TRICKS OF PC HACKING
- Best Spywares
- BLACK BERRY
- BLOGGER TIPS
- Change Your Ip adress
- Check Online that how many Sims are against your CNIC.
- COLLAGE SERVER HACKING
- COMPUTER HACKING
- COMPUTER PLAYERS
- COMPUTER SOFTWARES
- COOKIES STEALING
- COOL TIPS
- Cracking Kit 2012
- crypters and binders
- E BOOK TUTORIALS
- E MAIL AND SMS BOMBER
- FACEBOOK HACKING
- FACEBOOK SKINS
- File Sonic premium account
- Get someones ISP password
- GRAPHICS
- HACK PASSWARDS
- HACK ADMIN PASSWARD
- Hack Any Facebook Account
- Hack Computer using ip Adress
- HACK PC BY DORK
- HACK PREMIUM ACCOUNTS
- HACKED EMAIL RECOVERY
- HACKING
- HOT FILE PREMIUM ACCOUNTS
- How To Recover Deleted File
- IP TRACING
- IPHONE SOFTARES
- JAZZ
- LATEST
- LATEST I PHONES
- LEARN BASIC HTML
- Make Mozilla 10x Times Faster
- MOBILE AT
- MOBILE PRICES
- MOBILE SOFTWARES
- NOKIA
- Nokia Secret Code's
- NOKIA SOFTARES
- Operate Firefox faster
- ORKUT HACKING
- PACKAGES
- PC HACK
- PC PROTECTION
- Q MOBILES
- Remove Bios Password
- Reset Windows Password
- Restore Firefox Passwords
- SAMSUNG
- See passwords behind stars
- Speed Up Your Bandwidth By 30%
- Stealth Crypter V3 Private
- SUPER FAST BROWSING
- Transfer your Photos to pencil sketch
- VIDEO EDITING
- VIRUSES
- WEBSITE HACKING
- WINDOWS 7 HACK
- Windows XP Secrets
- wireless hacking
sponsers
Blog Archive
-
▼
2011
-
▼
May
-
▼
May 10
- BASIC HTML CH # 1
- BASIC HTML CH # 2
- BASIC HTML CH # 3
- BASIC HTML CH # 4
- BASIC HTML CH # 5
- BASIC HTML CH # 6
- BASIC HTML CH # 7
- BASIC HTML CH # 8
- BASIC HTML CH # 8
- BASIC HTML CH # 9
- BASIC HTML CH # 9
- Headings are important in HTML documents.HTML Hea...
- BASIC HTML CH # 10
- BASIC HTML CH # 11
- BASIC HTML CH # 12
- BASIC HTML CH # 13
- BASIC HTML CH # 14
- BASIC HTML CH # 14
- BASIC HTML CH # 14
- BASIC HTML CH # 14
- BASIC HTML CH # 14
- BASIC HTML CH # 19
- BASIC HTML CH # 15
- BASIC HTML CH # 16
- BASIC HTML CH # 16
- BASIC HTML CH # 17
- BASIC HTML CH # 18
-
▼
May 10
-
▼
May