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.
galleryimg
Specifies whether the image toolbar is visible.
headers
Space-delimited list of header cell id’s for header cells that are related to the element.
height
Height of the element (in pixels).
hidden
If true, specifies that the element is hidden.
hidefocus
Specifies whether the element shows a visual cue when it has focus.
href
Path or URL for the linked document or object.
hreflang
Language of the linked document.
hspace
Number of pixels of space to the left and right of the element (i.e. horizontal margin).
http-equiv
Sets an HTTP response header for the value in the content attribute.
id
Unique identifier for the element.
label
Defines a label on a form.
lang
Language code for the content of the element.
language (script)
Specifies the scripting language.
language
Specifies the scripting language.
left
Number of pixels that the element is offset from the left.
leftmargin
Left margin for the body of the document.
link
Defines the relationship between the current document and another document.
longdesc
URL that contains a long description of the contents of the element.
loop
Number of times to loop the media file. Specify “infinite” for a continuous loop.
lowsrc
URL for a low-resolution version of an image.
marginheight
Top and bottom margins (in pixels) for the document.
marginwidth
Left and right margins (in pixels) for the document.
maxlength
Maximum number of characters that a user may type into the element.
mayscript
If true, indicates that scripts in the document may access the applet.
media
Media type associated with the element.
method
Specifies the method to use to transfer form data to the server.
methods
Possible methods that may be called on the element.
multiple
If present, specifies that a user can select multiple options.
nohref
If present, specifies that the element has no href.
noresize
If present, specifies that the element cannot be resized.
noshade
If present, specifies that the element should not have shading.
nowrap
If present, specifies that the element text should not wrap.
object
Defines an object embedded in the document.
overflow
Specifies whether to “clip” the content of the layer if the content exceeds the layer boundaries, or leave the content as-is.
pagex
Horizontal position of the element in the browser window.
pagey
Vertical position of the element in the browser window.
palette
Specifies whether to use the background or foreground color palette for the element.
pluginspage
Specifies a web page with installation information for the plugin for the element.
point-size
Specifies the point size of the font.
profile
Specifies the URL for the meta-information dictionary.
readonly
If present, specifies that the element is read-only.
rel
Defines the relationship of the linked document to the current document.
rev
Defines the relationship of the current document to the linked document.
rightmargin
Right margin (in pixels) for the body of the document.
rows
Number of rows in the element.
rowspan
Number of rows that the element should span.
rules
Specifies the dividing rules for the element.
scheme
Specifies the scheme for the value of the content attribute.
scope
Specifies cells that the element is a header for.
scroll
Specifies whether or not scroll bars are visible.
scroll
Specifies whether or not scroll bars are visible.
scrollamount
Specifies the number of pixels between the end of one block of content and the start of the next while scrolling.
scrolldelay
Specifies the delay (in milliseconds) between the end of one block of scrolling content and the start of the next.
scrolling
Specifies whether or not the element has scroll bars.
selected
If present, specifies that the element selected by default.
shape
For an anchor that defines a hyperlink, shape of the selectable hypertext region.
size
Size of the element.
span
Span element used to surround content blocks for formatting.
src
URL for the source for the element.
standby
Text content to dislay while the object associated with the element loads.
style
Creates a style sheet within the document.
summary
Summary of the contents of the element.
tabindex
Position of the element in the tabbing order for the document.
target
Target window to use for opening the linked document.
text
Specifies the color for text of the document. Specify either a color name or RGB color.
title
Specifies the title of the HTML document.
top
Number of pixels that the element is offset from the top.
truespeed
If present, specifies that the scrolldelay value should not be rounded up to 60 milliseconds.
type - a
Specifies the type of linked file.
type - button
Specifies the type of linked file.
type - embed
Specifies the type of linked file.
type - input
Specifies the type of linked file.
type - li
Specifies the type of linked file.
type - link
Specifies the type of linked file.
type - object
Specifies the type of linked file.
type - ol
Specifies the type of linked file.
type - param
Specifies the type of linked file.
type - script
Specifies the type of linked file.
type - style
Specifies the type of linked file.
type - ul
Specifies the type of linked file.
units
Specifies the unit for the height and width of the element.
unselectable
Specifies whether or not the element is unselectable.
urn
Uniform resource name (URN) for the link.
usemap
Specifies a URL to use for an image map or object map.
valign
Vertical alignment of the element.
value
Text containing the value of the element.
valuetype
Specifies the type of value for the element.
visibility
Specifies whether the element is hidden or shown.
vlink
Specifies the color for visited links in the document. Specify either a color name or RGB color.
volume
Number between -10000 and 0 that specifies the volume for the sound file.
vspace
Number of pixels of space above and below the element (i.e. vertical margin).
weight
Specifies the weight of the font.
width
Width of the element (pixels or percentage).
wrap
Specifies word wrap behavior within the element.
xml:space
If set, specifies whether to override the default whitespace handling within the element.
xmlns
Namespace for XML-based tags.
z-index
Positive integer specifying where an element is stacked in relation to other layers.