html - Attributes Flashcards
abbr
Specifies that a string is an abbreviation for a longer word or phrase.
above
Name of the layer above the element.
accept
Specifies accepted MIME types for file uploads.
accept-charset
Comma or space-delimited list of character encodings that are accepted by the server processing the form.
accesskey
Hot-key shortcut for the element.
action
URL for submitting the form.
align
Defines the alignment of the element.
alink
Specifies the color for active links in the document. Specify either a color name or RGB color.
allowtransparency
Specifies whether the background of the element may be transparent.
alt
Specifies alternative text to display if the element cannot be displayed as expected.
application
Specifies whether the content of the element is considered an HTA application.
archive
URL or list of URLs that need to be preloaded for the element.
autocomplete
Specifies whether form autocompletion, which automatically completes the fields on a form after the user has typed enough letters, is on or off.
axis
Specifies a name for a group of headers.
background
Specifies the URL for the background image for the document or element.
balance
Number between -10000 and +10000 that specifies the sound balance for the left and right speakers.
behavior
Specifies the movement behavior of the element.
below
Name of the layer below the element.
bgcolor
Specifies the background color for the document or element. Specify either a color name or RGB color.
bgproperties
If set, specifies that the background image is fixed and will not scroll.
border
Width (in pixels) of the border around the element.
bordercolor
Specifies the color of the border of the element. Specify either a color name or RGB color code.
bordercolordark
Specifies the darker color of the border of the element, if the element has a 3D effect. Specify either a color name or RGB color code.
bordercolorlight
Specifies the lighter color of the border of the element, if the element has a 3D effect. Specify either a color name or RGB color code.
bottommargin
Bottom margin for the body of the document.
cellpadding
Number of pixels between the content of a cell and the edge of a cell.
cellspacing
Number of pixels between cells.
char
Specifies which character to use to set the alignment for the element.
charoff
Number of characters to offset the other column characters from the character specified by char.
charset
Specifies the character set associated with the element.
checked
If present, specifies that the element should be checked.
cite
Specifies that the enclosed text is a citation from another source.
class
CSS class assigned to the element.
clear
Specifies how the text flows with regards to any surrounding elements.
clip
Specifies x,y coordinates of the upper left and lower right corners of the element.
code
Specifies that the enclosed text is programming code and should be formatted appropriately.
codebase
URL for the code base for the element.
color
Name of the color or RGB code for the color for the element.
cols
Number of characters wide that the element should be.
colspan
Number of columns that the element should span.
compact
If true, specifies that the element should be visually compressed by compacting whitespace between its child elements.
content
High-level meta description of the contents of the document.
contenteditable
Specifies whether or not the content of the element is editable, or if the element inherits the value of this property from its parent.
coords
Comma-delimited x, y coordinates for the element.
data (comment)
Specifies a reference URL for the comment.
data
Specifies a reference URL for the comment.
datafld
For a databound element, specifies the field supplying the data.
dataformatas
Specifies whether the element treats data as plain text or as html.
datapagesize
For a databound element, specifies the number of records to display in the element.
datasrc
For a databound element, specifies the id of the data source.
datetime
Specifies the date and time that the element was modified.
declare
If present, declares the object associated with the element, but does not instantiate it.
defer
If present, specifies that execution of the element is deferred.
dir
Specifies that the enclosed text is a directory list of short, unordered items.
direction
Specifies the direction of movement for the element text.
disabled
Specifies whether or not the element is disabled.
dynsrc
URL of a video clip file.
enctype
Specifies the MIME type for the element data being sent to the server.
event
Specifies the event handler for the element.
face
Name of the font. You can specify more than one font face.
for
Id corresponding to the form or event associated with the element.
frame
Defines a window-like frame (as a child of a frameset).
frameborder
Specifies whether the frame has a border.
framespacing
Number of pixels between frames.