This page has been robot translated, sorry for typos if any. Original content here.

Attribute Index  

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

Name Items Type of Default Unwelcome. DTD Comment
abbr TD , TH % Text; #IMPLIED header cell shortcut
accept-charset FORM % Charsets; #IMPLIED list of supported character sets
accept INPUT % ContentTypes; #IMPLIED list of MIME types to upload 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 the tables
align APPLET , IFRAME , IMG , INPUT , OBJECT % IAlign; #IMPLIED H L vertical or horizontal alignment
align LEGEND % LAlign; #IMPLIED H L refers to the set of fields
align TABLE % TAlign; #IMPLIED H L position of the table relative to the 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 archive list
archive APPLET CDATA #IMPLIED H L comma separated list of spaces
axis TD , TH CDATA #IMPLIED related header group
background BODY % URI; #IMPLIED H L document texture and background
bgcolor TABLE % Color; #IMPLIED H L cell background color
bgcolor TR % Color; #IMPLIED H L line background color
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 border thickness
border TABLE % Pixels; #IMPLIED frame thickness around the table
cellpadding TABLE % Length; #IMPLIED spacing between cell border and text in it
cellspacing TABLE % Length; #IMPLIED cell spacing
char COL , COLGROUP , TBODY , TD , TFOOT , TH , THEAD , TR % Character; #IMPLIED alignment character, for example char = ':'
charoff COL , COLGROUP , TBODY , TD , TFOOT , TH , THEAD , TR % Length; #IMPLIED offset for alignment symbol
charset A , LINK , SCRIPT % Charset; #IMPLIED character encoding of the associated resource
checked INPUT (checked) #IMPLIED for checkboxes and radio buttons
cite BLOCKQUOTE , Q % URI; #IMPLIED URI of the original document or message
cite DEL , INS % URI; #IMPLIED reason for change
class All elements 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 text break control
code APPLET CDATA #IMPLIED H L applet class file
codebase OBJECT % URI; #IMPLIED base 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 length list, default: 100% (1 column)
cols TEXTAREA NUMBER #REQUIRED
colspan TD , TH NUMBER one number of columns combined in a cell
compact DIR , MENU (compact) #IMPLIED H L
compact DL , OL , UL (compact) #IMPLIED H L reducing the 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 card images
data OBJECT % URI; #IMPLIED object reference
datetime DEL , INS % Datetime; #IMPLIED date and time of change
declare OBJECT (declare) #IMPLIED declare but not initialize flag
defer SCRIPT (defer) #IMPLIED user agent can postpone script execution
dir All items except APPLET , BASE , BASEFONT , BDO , BR , FRAME , FRAMESET , HR , IFRAME , PARAM , SCRIPT (ltr | rtl) #IMPLIED weak / neutral text direction
dir Bdo (ltr | rtl) #REQUIRED direction
disabled BUTTON , INPUT , OPTGROUP , OPTION , SELECT , TEXTAREA (disabled) #IMPLIED not available in this context
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 ID field value
frame TABLE % TFrame; #IMPLIED which parts of the frame should be generated
frameborder FRAME , IFRAME (1 | 0) one F request frame boundaries?
headers TD , TH IDREFS #IMPLIED list of header cell IDs
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 resource referenced
href BASE % URI; #IMPLIED H L Base URI
hreflang A , LINK % LanguageCode; #IMPLIED language code
hspace APPLET , IMG , OBJECT % Pixels; #IMPLIED H L horizontal gutter
http-equiv META NAME #IMPLIED HTTP response header name
id All elements 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 card
label OPTION % Text; #IMPLIED for use in hierarchical menus
label OPTGROUP % Text; #REQUIRED for use in hierarchical menus
lang All items 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 link to a long description (complements alt)
longdesc FRAME , IFRAME % URI; #IMPLIED F link to a long search (complements the title)
marginheight FRAME , IFRAME % Pixels; #IMPLIED F field height in pixels
marginwidth FRAME , IFRAME % Pixels; #IMPLIED F field width in pixels
maxlength INPUT NUMBER #IMPLIED maximum number of characters in a text field
media STYLE % MediaDesc; #IMPLIED for use with these devices
media LINK % MediaDesc; #IMPLIED for presentation on these devices
method FORM (GET | POST) Get HTTP method used to submit 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 end of named link
name INPUT , OBJECT CDATA #IMPLIED pass as part of the form
name MAP CDATA #REQUIRED for usemap link
name PARAM CDATA #REQUIRED property name
name META NAME #IMPLIED meta information name
nohref AREA (nohref) #IMPLIED no action assigned to this area
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 focus shifted to another element
onchange INPUT , SELECT , TEXTAREA % Script; #IMPLIED item value has changed
onclick All elements except APPLET , BASE , BASEFONT , BDO , BR , FONT , FRAME , FRAMESET , HEAD , HTML , IFRAME , ISINDEX , META , PARAM , SCRIPT , STYLE , TITLE % Script; #IMPLIED pointing device button pressed
ondblclick All elements except APPLET , BASE , BASEFONT , BDO , BR , FONT , FRAME , FRAMESET , HEAD , HTML , IFRAME , ISINDEX , META , PARAM , SCRIPT , STYLE , TITLE % Script; #IMPLIED pointing device button pressed twice
onfocus A , AREA , BUTTON , INPUT , LABEL , SELECT , TEXTAREA % Script; #IMPLIED focus is on element
onkeydown All elements 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 elements 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 elements except APPLET , BASE , BASEFONT , BDO , BR , FONT , FRAME , FRAMESET , HEAD , HTML , IFRAME , ISINDEX , META , PARAM , SCRIPT , STYLE , TITLE % Script; #IMPLIED key released
onload FRAMESET % Script; #IMPLIED F all frames loaded
onload BODY % Script; #IMPLIED document loaded
onmousedown All elements except APPLET , BASE , BASEFONT , BDO , BR , FONT , FRAME , FRAMESET , HEAD , HTML , IFRAME , ISINDEX , META , PARAM , SCRIPT , STYLE , TITLE % Script; #IMPLIED pointing device button pressed
onmousemove All elements except APPLET , BASE , BASEFONT , BDO , BR , FONT , FRAME , FRAMESET , HEAD , HTML , IFRAME , ISINDEX , META , PARAM , SCRIPT , STYLE , TITLE % Script; #IMPLIED pointer moved within
onmouseout All elements except APPLET , BASE , BASEFONT , BDO , BR , FONT , FRAME , FRAMESET , HEAD , HTML , IFRAME , ISINDEX , META , PARAM , SCRIPT , STYLE , TITLE % Script; #IMPLIED pointer moved out of bounds
onmouseover All elements except APPLET , BASE , BASEFONT , BDO , BR , FONT , FRAME , FRAMESET , HEAD , HTML , IFRAME , ISINDEX , META , PARAM , SCRIPT , STYLE , TITLE % Script; #IMPLIED pointer placed on
onmouseup All elements except APPLET , BASE , BASEFONT , BDO , BR , FONT , FRAME , FRAMESET , HEAD , HTML , IFRAME , ISINDEX , META , PARAM , SCRIPT , STYLE , TITLE % Script; #IMPLIED pointing device button released
onreset FORM % Script; #IMPLIED form reset
onselect INPUT , TEXTAREA % Script; #IMPLIED selected some text
onsubmit FORM % Script; #IMPLIED form submitted
onunload FRAMESET % Script; #IMPLIED F all frames removed
onunload BODY % Script; #IMPLIED document deleted
profile HEAD % URI; #IMPLIED named dictionary or meta information
prompt ISINDEX % Text; #IMPLIED H L request text
readonly TEXTAREA (readonly) #IMPLIED
readonly INPUT (readonly) #IMPLIED for text and passwords
rel A , LINK % LinkTypes; #IMPLIED forward type links
rev A , LINK % LinkTypes; #IMPLIED type links back
rows FRAMESET % MultiLengths; #IMPLIED F length list, default: 100% (1 line)
rows TEXTAREA NUMBER #REQUIRED
rowspan TD , TH NUMBER one the number of rows joined by the cell
rules TABLE % TRules; #IMPLIED borders between rows and columns
scheme META CDATA #IMPLIED content form selection
scope TD , TH % Scope; #IMPLIED header cell scope
scrolling FRAME , IFRAME (yes | no | auto) auto F scroll bar or lack thereof
selected OPTION (selected) #IMPLIED
shape AREA % Shape; rect manages the interpretation of coordinates
shape A % Shape; rect for use with client card images
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 field type
size BASEFONT CDATA #REQUIRED H L base font size for FONT elements
size SELECT NUMBER #IMPLIED visible lines
span Col NUMBER one COL attributes affecting N columns
span COLGROUP NUMBER one default number of columns in a group
src SCRIPT % URI; #IMPLIED External script URI
src INPUT % URI; #IMPLIED for fields with images
src FRAME , IFRAME % URI; #IMPLIED F frame content source file
src Img % URI; #REQUIRED Embedded Image URI
standby OBJECT % Text; #IMPLIED message that appears during boot
start OL NUMBER #IMPLIED H L starting sequence number
style All elements except BASE , BASEFONT , HEAD , HTML , META , PARAM , SCRIPT , STYLE , TITLE % StyleSheet; #IMPLIED related style information
summary TABLE % Text; #IMPLIED assignment / structure for speech 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 presentation in this frame
text BODY % Color; #IMPLIED H L document text color
title STYLE % Text; #IMPLIED recommended title
title All elements except BASE , BASEFONT , HEAD , HTML , META , PARAM , SCRIPT , STYLE , TITLE % Text; #IMPLIED recommended header / boost
type A , LINK % ContentType; #IMPLIED recommended content type
type OBJECT % ContentType; #IMPLIED content type for data
type PARAM % ContentType; #IMPLIED content type for value with valuetype = ref
type SCRIPT % ContentType; #REQUIRED script language content type
type STYLE % ContentType; #REQUIRED style language content type
type INPUT % InputType; TEXT input type
type LI % LIStyle; #IMPLIED H L list item style
type OL % OLStyle; #IMPLIED H L numbering style
type UL % ULStyle; #IMPLIED H L marker style
type BUTTON (button | submit | reset) submit form button
usemap IMG , INPUT , OBJECT % URI; #IMPLIED use 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 default item content
value PARAM CDATA #IMPLIED property value
value INPUT CDATA #IMPLIED for checkboxes and radio buttons
value BUTTON CDATA #IMPLIED sent to server when sent
value LI NUMBER #IMPLIED H L reset sequence number
valuetype PARAM (DATA | REF | OBJECT) DATA how to interpret meaning
version HTML CDATA % HTML.Version; H L constant
vlink BODY % Color; #IMPLIED H L color of viewed 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 width override
width TABLE % Length; #IMPLIED table width
width APPLET % Length; #REQUIRED H L initial width
width Col % MultiLength; #IMPLIED set column width
width COLGROUP % MultiLength; #IMPLIED default width for nested cols
width TD , TH % Pixels; #IMPLIED H L cell width
width Pre NUMBER #IMPLIED H L