HTML Standard Attributes

HTML tags can have attributes. The special attributes for each tag are listed under each tag description. The attributes listed here are the core and language attributes that are standard for all tags (with a few exceptions).


Core Attributes

Not valid in base, head, html, meta, param, script, style, and title elements.

AttributeValueDescription
classclass_rule or style_ruleThe class of the element
idid_nameA unique id for the element
stylestyle_definitionAn inline style definition
titletooltip_text A text to display in a tool tip


Language Attributes

Not valid in base, br, frame, frameset, hr, iframe, param, and script elements.

AttributeValueDescription
dirltr | rtlSets the text direction
langlanguage_codeSets the language code


Keyboard Attributes

AttributeValueDescription
accesskeycharacterSets a keyboard shortcut to access an element
tabindexnumberSets the tab order of an element

Posted by solarview

2006/08/31 22:00 2006/08/31 22:00
,
Response
No Trackback , No Comment
RSS :
http://www.solarview.net/rss/response/62

Trackback URL : http://www.solarview.net/trackback/62

« Previous : 1 : ... 227 : 228 : 229 : 230 : 231 : 232 : 233 : 234 : 235 : ... 296 : Next »