Attribute Index  

Legend: N is chelate, L oose DTD, F rameset DTD

Name Elements A type Default Unwanted. DTD A comment
Abbr TD , TH % Text; #IMPLIED Short for header cell
Accept-charset FORM % Charsets; #IMPLIED List of supported character sets
Accept INPUT % ContentTypes; #IMPLIED List of MIME types for uploading files
Accesskey A , AREA , BUTTON , INPUT , LABEL , LEGEND , TEXTAREA % Character; #IMPLIED Access key
Action FORM % URI; #REQUIRED Server form handler
Align CAPTION % CAlign; #IMPLIED H L Refers to tables
Align APPLET , IFRAME , IMG , INPUT , OBJECT % IAlign; #IMPLIED H L Vertical or horizontal alignment
Align LEGEND % LAlign; #IMPLIED H L Refers to a set of fields
Align TABLE % TAlign; #IMPLIED H L Table position relative to window
Align HR (Left | center | right) #IMPLIED H L
Align DIV , H1 , H2 , H3 , H4 , H5 , H6 , P (Left | center | right | justify) #IMPLIED H L Text alignment
Align COL , COLGROUP , TBODY , TD , TFOOT , TH , THEAD , TR (Left | center | right | justify | char) #IMPLIED
Alink BODY % Color; #IMPLIED H L Color of selected links
Alt APPLET % Text; #IMPLIED H L short description
Alt AREA , IMG % Text; #REQUIRED short description
Alt INPUT CDATA #IMPLIED short description
archive OBJECT % URI; #IMPLIED Space-separated list of archives
archive APPLET CDATA #IMPLIED H L Comma-separated list of spaces
Axis TD , TH CDATA #IMPLIED Group names of related headers
Background BODY % URI; #IMPLIED H L Texture and background of the document
Bgcolor TABLE % Color; #IMPLIED H L Background color for cells
Bgcolor TR % Color; #imPLIED H L Background color for the row
Bgcolor TD , TH % Color; #IMPLIED H L Cell background color
Bgcolor BODY % Color; #IMPLIED H L Document background color
Border IMG , OBJECT % Length; #IMPLIED H L Boundary thickness
Border TABLE % Pixels; #IMPLIED The thickness of the frame around the table
Cellpadding TABLE % Length; #IMPLIED The interval between the cell boundary and the text in it
Cellspacing TABLE % Length; #IMPLIED Distance between cells
Char COL , COLGROUP , TBODY , TD , TFOOT , TH , THEAD , TR % Character; #IMPLIED An alignment character, for example char = ':'
Charoff COL , COLGROUP , TBODY , TD , TFOOT , TH , THEAD , TR % Length; #IMPLIED Offset for alignment character
Charset A , LINK , SCRIPT % Charset; #IMPLIED Character encoding of the associated resource
Checked INPUT (Checked) #IMPLIED For checkboxes and buttons with dependent commit
Cite BLOCKQUOTE , Q % URI; #IMPLIED The URI of the source document or message
Cite DEL , INS % URI; #IMPLIED Cause of change
Class All items except BASE , BASEFONT , HEAD , HTML , META , PARAM , SCRIPT , STYLE , TITLE CDATA #IMPLIED Space separated list of classes
Classid OBJECT % URI; #IMPLIED Identifies the implementation
Clear BR (Left | all | right | none) None H L Control of text division
Code APPLET CDATA #IMPLIED H L Applet class file
Codebase OBJECT % URI; #IMPLIED Basic URI for classid, data, archive
Codebase APPLET % URI; #IMPLIED H L Optional base URI for applet
Codetype OBJECT % ContentType; #IMPLIED Content type for code
Color BASEFONT , FONT % Color; #IMPLIED H L text color
Cols FRAMESET % MultiLengths; #IMPLIED F List of lengths, default: 100% (1 column)
Cols TEXTAREA NUMBER #REQUIRED
Colspan TD , TH NUMBER 1 Number of columns in the cell
Compact DIR , MENU (Compact) #IMPLIED H L
Compact DL , OL , UL (Compact) #IMPLIED H L Reduction of distance between elements
Content META CDATA #REQUIRED Related information
Coords AREA % Coords; #IMPLIED Comma-separated list of lengths
Coords A % Coords; #IMPLIED For use with client image maps
Data OBJECT % URI; #IMPLIED Reference to the data of the object
Datetime DEL , INS % Datetime #IMPLIED Date and time of change
Declare OBJECT (Declare) #IMPLIED Declare, but not initialize the flag
Defer SCRIPT (Defer) #IMPLIED User agent may delay execution of the script
Dir All elements except APPLET , BASE , BASEFONT , BDO , BR , FRAME , FRAMESET , HR , IFRAME , PARAM , SCRIPT (Ltr | rtl) #IMPLIED Direction of weak / neutral text
Dir BDO (Ltr | rtl) #REQUIRED direction
Disabled BUTTON , INPUT , OPTGROUP , OPTION , SELECT , TEXTAREA (Disabled) #IMPLIED In this context is not available
Enctype FORM % ContentType; "Application / x-www-form-urlencoded"
Face BASEFONT , FONT CDATA #IMPLIED H L Comma-separated list of font names
For LABEL IDREF #IMPLIED Matches the field ID value
Frame TABLE % TFrame; #IMPLIED What parts of the frame should be generated
Frameborder FRAME , IFRAME (1 | 0) 1 F Request frame boundaries?
Headers TD , TH IDREFS #IMPLIED List of header cells
Height IFRAME % Length; #IMPLIED L Frame height
Height IMG , OBJECT % Length; #IMPLIED Height override
Height APPLET % Length; #REQUIRED H L Initial height
Height TD , TH % Pixels; #IMPLIED H L Cell height
Href A , AREA , LINK % URI; #IMPLIED URI of the referenced resource
Href BASE % URI; #IMPLIED H L The URI serving as the base
Hreflang A , LINK % LanguageCode; #IMPLIED Language code
Hspace APPLET , IMG , OBJECT % Pixels; #imPLIED H L Horizontal gutter
Http-equiv META NAME #IMPLIED Name of the HTTP response header
Id All items except BASE , HEAD , HTML , META , SCRIPT , STYLE , TITLE ID #IMPLIED Unique ID in the redistribution of the document
Ismap IMG (Ismap) #IMPLIED Use server image map
Label OPTION % Text; #IMPLIED For use in hierarchical menus
Label OPTGROUP % Text; #REQUIRED For use in hierarchical menus
Lang All elements except APPLET , BASE , BASEFONT , BR , FRAME , FRAMESET , HR , IFRAME , PARAM , SCRIPT % LanguageCode; #IMPLIED Language code
Language SCRIPT CDATA #IMPLIED Preferred script language name
Link BODY % Color; #IMPLIED H L Link color
Longdesc IMG % URI; #IMPLIED Reference to a long description (supplements alt)
Longdesc FRAME , IFRAME % URI; #IMPLIED F Reference to a long search (complements title)
Marginheight FRAME , IFRAME % Pixels; #IMPLIED F Field height in pixels
Marginwidth FRAME , IFRAME % Pixels; #IMPLIED F Width of fields in pixels
Maxlength INPUT NUMBER #IMPLIED The maximum number of characters in the text box
Media STYLE % MediaDesc; #IMPLIED For use with these devices
Media LINK % MediaDesc; #IMPLIED For presentation on these devices
Method FORM (GET | POST) GET The HTTP method used to transfer the form
Multiple SELECT (Multiple) #IMPLIED The default is one selection
Name BUTTON , TEXTAREA CDATA #IMPLIED
Name APPLET CDATA #IMPLIED H L Allows applets to find each other
Name SELECT CDATA #IMPLIED Field name
Name FRAME , IFRAME CDATA #IMPLIED F Target frame name
Name A CDATA #IMPLIED The end of a named reference
Name INPUT , OBJECT CDATA #IMPLIED Pass as part of the form
Name MAP CDATA #REQUIRED For reference in usemap
Name PARAM CDATA #REQUIRED Property name
Name META NAME #IMPLIED Metainformation name
Nohref AREA (Nohref) #IMPLIED For this area, no action is assigned
Noresize FRAME (Noresize) #IMPLIED F Allow users to resize frames?
Noshade HR (Noshade) #IMPLIED H L
Nowrap TD , TH (Nowrap) #IMPLIED H L Disable word wrap
Object APPLET CDATA #IMPLIED H L Serial applet file
Onblur A , AREA , BUTTON , INPUT , LABEL , SELECT , TEXTAREA % Script; #IMPLIED The focus shifted to another element
Onchange INPUT , SELECT , TEXTAREA % Script; #IMPLIED The value of the element has changed
Onclick All items except APPLET , BASE , BASEFONT , BDO , BR , FONT , FRAME , FRAMESET , HEAD , HTML , IFRAME , ISINDEX , META , PARAM , SCRIPT , STYLE , TITLE % Script; #IMPLIED The button of the pointing device is pressed
Ondblclick All items except APPLET , BASE , BASEFONT , BDO , BR , FONT , FRAME , FRAMESET , HEAD , HTML , IFRAME , ISINDEX , META , PARAM , SCRIPT , STYLE , TITLE % Script; #IMPLIED The button of the pointing device is pressed twice
Onfocus A , AREA , BUTTON , INPUT , LABEL , SELECT , TEXTAREA % Script; #IMPLIED Focus is on item
Onkeydown All items except APPLET , BASE , BASEFONT , BDO , BR , FONT , FRAME , FRAMESET , HEAD , HTML , IFRAME , ISINDEX , META , PARAM , SCRIPT , STYLE , TITLE % Script; #IMPLIED Key pressed on the keyboard
Onkeypress All items except APPLET , BASE , BASEFONT , BDO , BR , FONT , FRAME , FRAMESET , HEAD , HTML , IFRAME , ISINDEX , META , PARAM , SCRIPT , STYLE , TITLE % Script; #IMPLIED Key pressed and released
Onkeyup All items except APPLET , BASE , BASEFONT , BDO , BR , FONT , FRAME , FRAMESET , HEAD , HTML , IFRAME , ISINDEX , META , PARAM , SCRIPT , STYLE , TITLE % Script; #IMPLIED The key is released
Onload FRAMESET % Script; #IMPLIED F All frames are loaded
Onload BODY % Script; #IMPLIED Document uploaded
Onmousedown All items except APPLET , BASE , BASEFONT , BDO , BR , FONT , FRAME , FRAMESET , HEAD , HTML , IFRAME , ISINDEX , META , PARAM , SCRIPT , STYLE , TITLE % Script; #IMPLIED The button of the pointing device is pressed
Onmousemove All items except APPLET , BASE , BASEFONT , BDO , BR , FONT , FRAME , FRAMESET , HEAD , HTML , IFRAME , ISINDEX , META , PARAM , SCRIPT , STYLE , TITLE % Script; #IMPLIED The pointer is moved within
Onmouseout All items except APPLET , BASE , BASEFONT , BDO , BR , FONT , FRAME , FRAMESET , HEAD , HTML , IFRAME , ISINDEX , META , PARAM , SCRIPT , STYLE , TITLE % Script; #IMPLIED The pointer is moved beyond
Onmouseover All items except APPLET , BASE , BASEFONT , BDO , BR , FONT , FRAME , FRAMESET , HEAD , HTML , IFRAME , ISINDEX , META , PARAM , SCRIPT , STYLE , TITLE % Script; #IMPLIED The pointer is placed on the
Onmouseup All items except APPLET , BASE , BASEFONT , BDO , BR , FONT , FRAME , FRAMESET , HEAD , HTML , IFRAME , ISINDEX , META , PARAM , SCRIPT , STYLE , TITLE % Script; #IMPLIED The button of the pointing device is released
Onreset FORM % Script; #IMPLIED Form is reset
Onselect INPUT , TEXTAREA % Script; #IMPLIED Highlighted some text
Onsubmit FORM % Script; #IMPLIED Form submitted
Onunload FRAMESET % Script; #IMPLIED F All frames deleted
Onunload BODY % Script; #IMPLIED Document deleted
Profile HEAD % URI; #IMPLIED Named dictionary or metainformation
Prompt ISINDEX % Text; #IMPLIED H L Query text
Readonly TEXTAREA (Readonly) #IMPLIED
Readonly INPUT (Readonly) #IMPLIED For text and passwords
Rel A , LINK % LinkTypes; #IMPLIED Forward links
Rev A , LINK % LinkTypes; #IMPLIED Type references back
Rows FRAMESET % MultiLengths; #IMPLIED F List of lengths, default: 100% (1 line)
Rows TEXTAREA NUMBER #REQUIRED
Rowspan TD , TH NUMBER 1 The number of rows that the cell joins together
Rules TABLE % TRules; #IMPLIED The boundaries between rows and columns
Scheme META CDATA #IMPLIED Content form selection
Scope TD , TH % Scope; #IMPLIED The scope of the header cells
Scrolling FRAME , IFRAME (Yes | no | auto) auto F Scroll bar or lack thereof
Selected OPTION (Selected) #IMPLIED
Shape AREA % Shape; Rect Controls the interpretation of coordinates
Shape A % Shape; Rect For use with client image maps
Size HR % Pixels; #IMPLIED H L
Size FONT CDATA #IMPLIED H L [+ | -] nn, for example, size = "+ 1", size = "4"
Size INPUT CDATA #IMPLIED Depends on the type of field
Size BASEFONT CDATA #REQUIRED H L Basic font size for FONT elements
Size SELECT NUMBER #IMPLIED Visible lines
Span COL NUMBER 1 COL attributes that affect N columns
Span COLGROUP NUMBER 1 The number of columns in the group used by default
Src SCRIPT % URI; #IMPLIED URI of the external script
Src INPUT % URI; #IMPLIED For fields with images
Src FRAME , IFRAME % URI; #IMPLIED F Original frame contents file
Src IMG % URI; #REQUIRED The URI of the embedded image
Standby OBJECT % Text; #IMPLIED Message that appears at boot time
start OL NUMBER #IMPLIED H L Seed sequence number
Style All items except BASE , BASEFONT , HEAD , HTML , META , PARAM , SCRIPT , STYLE , TITLE % StyleSheet; #IMPLIED Related style info
Summary TABLE % Text; #IMPLIED Assignment / structure for voice output
Tabindex A , AREA , BUTTON , INPUT , OBJECT , SELECT , TEXTAREA NUMBER #IMPLIED Position in the transition sequence
Target A , AREA , BASE , FORM , LINK % FrameTarget; #IMPLIED H L Representation in this frame
Text BODY % Color; #IMPLIED H L Document text color
Title STYLE % Text; #IMPLIED Recommended title
Title All items except BASE , BASEFONT , HEAD , HTML , META , PARAM , SCRIPT , STYLE , TITLE % Text; #IMPLIED Recommended title / enhancement
Type A , LINK % ContentType; #IMPLIED Recommended content type
Type OBJECT % ContentType; #IMPLIED Content type for data
Type PARAM % ContentType; #IMPLIED The content type for the value at valuetype = ref
Type SCRIPT % ContentType; #REQUIRED Content type of the script language
Type STYLE % ContentType; #REQUIRED Style content of the style language
Type INPUT % InputType; TEXT Input type
Type LI % LIStyle; #IMPLIED H L List item style
Type OL % OLStyle; #IMPLIED H L Style numbering
Type UL % ULStyle; #IMPLIED H L Marker style
Type BUTTON (Button | submit | reset) submit Form button
Usemap IMG , INPUT , OBJECT % URI; #IMPLIED Use a client image card
Valign COL , COLGROUP , TBODY , TD , TFOOT , TH , THEAD , TR (Top | middle | bottom | baseline) #IMPLIED Vertical alignment in cells
Value OPTION CDATA #IMPLIED The default content of the element
Value PARAM CDATA #IMPLIED Property value
Value INPUT CDATA #IMPLIED For checkboxes and buttons with dependent commit
Value BUTTON CDATA #IMPLIED Sent to the server when sent
Value LI NUMBER #IMPLIED H L Reset sequence number
Valuetype PARAM (DATA | REF | OBJECT) DATA How to interpret a value
Version HTML CDATA % HTML.Version; H L constant
Vlink BODY % Color; #IMPLIED H L The color of the referenced links
Vspace APPLET , IMG , OBJECT. % Pixels; #IMPLIED H L Vertical gutter
Width HR % Length; #IMPLIED H L
Width IFRAME % Length; #IMPLIED L Frame Width
Width IMG , OBJECT % Length; #IMPLIED Redefinition of width
Width TABLE % Length; #IMPLIED Table width
Width APPLET % Length; #REQUIRED H L Initial width
Width COL % MultiLength; #IMPLIED Specifying column width
Width COLGROUP % MultiLength; #IMPLIED The default width for nested COLs
Width TD , TH % Pixels; #IMPLIED H L Cell width
Width PRE NUMBER #IMPLIED H L