Attributes that are supported by Safari and WebKit are described here.
If an attribute is not listed here, it is not supported by Safari and WebKit. The “Related Tags” section of each attribute links to the elements that the attribute directly applies to. If an attribute applies to the vast majority of elements, the “Related Tags” section is omitted. Some attributes are also marked as deprecated, which means they are supported by Safari but, because they are no longer supported by the HTML specification, are not guaranteed to be supported in the future.
Specifies the abbreviation for a table header cell.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Specifies the supported MIME types for a form.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Specifies the supported character sets for a form.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Specifies the access key for accessibility/screen reading.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Specifies the URL of a form processor (for example, a CGI script)
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Aligns inline elements within an element. Deprecated in HTML 4.01 (use CSS styling instead).
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Specifies the color of a currently active hyperlink. Deprecated in HTML 4.01 (use CSS styling instead).
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Provides a short description of an image, area, or input type.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Specifies a comma-separated list of Java archive URLs.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Indicates whether an ARIA-enabled element, such as a radio button or a checkbox, is selected.
Available in Safari 4.0 and later.
Indicates the hierarchical level of an ARIA-enabled structural element, such as a heading.
Available in Safari 4.0 and later.
Indicates the state of an ARIA-enabled toggle button.
Available in Safari 4.0 and later.
Indicates the maximum value of an ARIA-enabled element with a range, such as a progress bar.
Available in Safari 4.0 and later.
Indicates the minimum value of an ARIA-enabled element with a range, such as a progress bar.
Available in Safari 4.0 and later.
Indicates the current value of an ARIA-enabled element with a range, such as a progress bar.
Available in Safari 4.0 and later.
If off
, deactivates automatic capitalization for an input element; If on
, activates automatic capitalization for the element.
Available in iPhone OS 1.1.1 and later.
Apple extension.
If off
, deactivates automatic completion for an input element; If on
, activates automatic completion for the element.
Available in Safari 1.0 and later. Available in iPhone OS 1.1.1 and later.
If off
, deactivates automatic correction for an input element; If on
, activates automatic correction for the element.
Available in iPhone OS 1.1.1 and later.
Apple extension.
Indicates that a media element should begin playing as soon as it is loaded.
Available in Safari 3.1 and later.
Specifies an autosave name for a search field, so prior searches can be saved.
Available in Safari 1.3 and later.
Apple extension.
Specifies a comma-separated list of category names for a table cell or table header cell.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Specifies a background image. Deprecated in HTML 4.01 (use CSS styling instead).
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Used for the marquee element. Can be set to scroll
to continually scroll, slide
to slide it to the edge and start again at the beginning, or alternate
to scroll back and forth.
Available in Safari 1.2 and later. Available in iPhone OS 1.0 and later.
Sets the background color of an element. Deprecated in HTML 4.01 (use CSS styling instead).
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Sets the background style if a background image has been set. The only value available is “fixed”, which will lock the background in place as the page scrolls.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Sets the visible border width for a table.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Defines the color of a table border; has no effect in Safari.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Defines the pixel spacing within table cells.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Defines the pixel spacing between cells.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Provides an arbitrary string that acts as the challenge for a keygen.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Defines the axis of alignment for a block of text (for example, the decimal point in an English monetary value). The default is a decimal point.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Specifies the offset to the alignment character specified by the char
attribute.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Defines the character encoding style of a given linked resource.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Indicates that a checkbox element should show up as checked in a form.
This attribute does not require a value: its presence indicates the box is checked, its absence indicates it is not.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Sets the width of the border of an individual table cell.
Available in Safari 1.3 and later. Available in iPhone OS 1.0 and later.
Specifies the URL for the source of a citation, or a string explaining the reason for a change.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Space-separated list of CSS classes defining the style for an element.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Specifies the URL of the implementation for an embedded object.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Specifies the flow direction of text around a line break. Deprecated in HTML 4.01 (use CSS styling instead).
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Defines the class file for an applet specified with the applet tag. Deprecated in HTML 4.01, along with the applet
tag.
Available in Safari 1.0 and later.
Defines the base URL for a class ID, data file, or archive specified with the object tag. Deprecated in HTML 4.01 for the applet
tag, but not for the object
tag.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Defines the content-type for the code embedded by the object
tag.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Defines the text color for font elements. Deprecated in HTML 4.01 (use CSS styling instead).
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Defines the number of columns in a text area or frame set.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Defines the number of columns spanned by an individual column definition.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Compresses the space between elements in a list or menu. Deprecated in HTML 4.01 (use CSS styling instead).
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Specifies how an image gets composited onto a Dashboard widget.
Available in Safari 1.3 and later. Available in iPhone OS 1.0 and later.
Apple extension.
Specifies the content for a given meta key.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
If true
, the element can be edited on the fly; if false
, it cannot.
Available in Safari 1.2 and later.
If true
, the media element includes controls, such as a play button; if false
, it does not.
Available in Safari 3.1 and later.
Specifies a comma-separated list of lengths for the area element or for client-side image maps.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Specifies a URL to data required by an embedded object element.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Specifies the date and time of a change.
Used for the del
and ins
elements. Uses the ISO date format.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Added alone to an object element’s definition. Tells the object to declare but not instantiate itself.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Added alone to a script element’s definition. Tells the script to defer execution.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Specifies the direction (ltr/rtl) of text within an element.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Specifies the scrolling direction for the marquee element. Can be set to “left” or “right”.
Available in Safari 1.2 and later. Available in iPhone OS 1.0 and later.
Added alone to an input type’s definition. Disables (greys out) the element.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Defines the MIME content encoding type for a form.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Specifies the time at which an audio or video element will stop playing. If this attribute is not specified, the media element will play to completion.
Available in Safari 3.1 and later.
Comma-separated list of font names. Deprecated in HTML 4.01 (use CSS styling instead).
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Specifies the identifier of the control the label is relevant to.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Specifies which sides of a table frame should be shown.
Possible values are: void
(none), above
, below
, hsides
(top and bottom), vsides
(right and left), rhs
(right hand side), lhs
(left hand side), box
(all four sides), and border
(all four sides).
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Specifies whether or not to display a frameborder. Can be set to “1” or “0”.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Specifies a space-separated list of identifiers of table header cells.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Specifies the height of the element. Deprecated in HTML 4.01 for applets and table elements.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
If true
, the embedded object is hidden onscreen; if false
, it is not.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Specifies the URL for any kind of link or area definition.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Specifes the language of the resource linked to by the element’s href attribute.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Specifies the pixel size of the horizontal spacing surrounding the element. Deprecated in HTML 4.01 (use CSS styling instead).
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Used in the meta
element. Contains some kind of information about the header of the page.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Specifies a unique identifier for an element.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Specifies whether or not the “search” input type should perform the search as the user is typing.
Available in Safari 1.3 and later.
Apple extension.
Added alone to an image or input element. Indicate that the element corresponds to a server-side image map.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Specifies the key type for the keygen
element. Can be set to RSA
or DSA
.
Available in Safari 1.2 and later. Available in iPhone OS 1.0 and later.
Specifies the label for options or option groups within a pull-down menu.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Specifies the base language for the element’s attributes and textual content. Values are standard two-letter language codes.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Specifies the language of a script
element. Deprecated in HTML 4.01.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Used in the body
element. Specifies the left margin of the page content.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Color of an unvisited hyperlink. Deprecated in HTML 4.01 (use CSS styling instead).
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Long textual description for images and frames. Augments the alt
attribute for an element.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Specifies the number of times a media element (movie or sound) will loop. Also specifies the number of times a marquee element will loop.
Available in Safari 1.2 and later. Available in iPhone OS 1.0 and later.
Specifies the time at which an audio or video element will loop back to the time specified by the loopstart
attribute.
Looping occurs only if the playcount
attribute for the element is set to a value higher than 1
. By default, the value for this attribute is equal to the value for the end
attribute.
Available in Safari 3.1 and later.
Specifies the time to which an audio or video element will return when it loops.
Looping occurs only if the playcount
attribute for the element is set to a value higher than 1
. By default, the value for this attribute is equal to the value for the start
attribute.
Available in Safari 3.1 and later.
Specifies the relative path to the application cache manifest file that specifies the resources—such as HTML, JavaScript, CSS, and image files—to download and store in the application cache.
Available in Safari 4.0 and later. Available in iPhone OS 2.2 and later.
Specifies the height of the margins in a frame.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Specifies the width of the margins in a frame.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Same as the maxlength
attribute.
Available in Safari 1.3 and later. Available in iPhone OS 1.0 and later.
Specifies the maximum input length for a text input field in characters.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Added alone to an applet element’s definition. Tells the script to allow the applet access to the JavaScript scripting objects.
Available in Safari 1.2 and later. Available in iPhone OS 1.0 and later.
Defines the media type that the element is designed for.
The default value is screen
, but the attribute can also be set to tty
for a fixed-pitch device, tv
for low-resolution televisions, projection
for projectors, handheld
for handheld devices, print
for printed material, braille
for braille devices, aural
for speech synthesizers, or all
for all devices.
The media
attribute supports all media queries supported by the @media
CSS rule.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Specifies the form submission method, either POST
or GET
.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Specifies the minimum input length for a text field.
Available in Safari 1.3 and later. Available in iPhone OS 1.0 and later.
Added alone to a select
element’s definition. If present, the element will permit multiple selections.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Specifies the name of the element, which can be used in a variety of ways.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Added alone to an area
element’s definition. If present, the area has no particular action assigned to it.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Added alone to a frame
element’s definition. If present, the frames cannot be resized.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Legacy attribute. Has no effect in Safari.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Added alone to an hr
element’s definition. If present, the rule is drawn as a single line and not as a “groove.” Deprecated in HTML 4.01 (use CSS styling instead).
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Added alone to a table cell’s definition. Suppresses word wrap if present. Deprecated in HTML 4.01 (use CSS styling instead).
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Specifies the URL of a serialized applet in an applet
element. Deprecated in HTML 4.01 along with the applet element.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
JavaScript delegate. The code specified by this attribute is called when the image element it is assigned to is aborted during load.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
JavaScript delegate. The code specified by this attribute is called before the associated element is copied.
Available in Safari 1.3 and later.
JavaScript delegate. The code specified by this attribute is called before the associated element is cut.
Available in Safari 1.3 and later.
JavaScript delegate. The code specified by this attribute is called before the associated element has something pasted into it.
Available in Safari 1.3 and later.
JavaScript delegate. The code specified by this attribute is called before the associated element is unloaded from the page.
Available in Safari 1.3 and later.
JavaScript delegate. The code specified by this attribute is called when the associated element loses focus.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
JavaScript delegate. The code specified by this attribute is called when the associated element changes its value.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
JavaScript delegate. The code specified by this attribute is called when the associated element is clicked.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
JavaScript delegate. The code specified by this attribute is called when the associated element is right-clicked or when the mouse button is held down long enough to generate a contextual menu.
Available in Safari 1.1 and later.
JavaScript delegate. The code specified by this attribute is called when the associated element is copied.
Available in Safari 1.3 and later.
JavaScript delegate. The code specified by this attribute is called when the associated element is cut.
Available in Safari 1.3 and later.
JavaScript delegate. The code specified by this attribute is called when the associated element is double-clicked.
Available in Safari 1.0 and later.
JavaScript delegate. The code specified by this attribute is called when the associated element is dragged.
Available in Safari 1.3 and later.
JavaScript delegate. The code specified by this attribute is called when the associated element is done being dragged.
Available in Safari 1.3 and later.
JavaScript delegate. The code specified by this attribute is called when a drag has entered the associated element.
Available in Safari 1.3 and later.
JavaScript delegate. The code specified by this attribute is called when a drag has left the associated element.
Available in Safari 1.3 and later.
JavaScript delegate. The code specified by this attribute is called when a drag is over the associated element.
Available in Safari 1.3 and later.
JavaScript delegate. The code specified by this attribute is called when the associated element has started to be dragged.
Available in Safari 1.3 and later.
JavaScript delegate. The code specified by this attribute is called when the associated element is dropped.
Available in Safari 1.3 and later.
JavaScript delegate. The code specified by this attribute is called when the associated element has an error in loading.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
JavaScript delegate. The code specified by this attribute is called when the associated element gets focus.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Specifies the JavaScript method to invoke when fingers are moved during a gesture.
Available in iPhone OS 2.0 and later.
Apple extension.
Specifies the JavaScript method to invoke when the gesture ends (when there are 1 or 0 fingers touching the surface).
Available in iPhone OS 2.0 and later.
Apple extension.
Specifies the JavaScript method to invoke when two or more fingers touch the surface.
Available in iPhone OS 2.0 and later.
Apple extension.
JavaScript delegate. The code specified by this attribute is called when text is entered into the associated element.
Available in Safari 1.3 and later. Available in iPhone OS 1.0 and later.
JavaScript delegate. The code specified by this attribute is called when a key is pressed over the associated element.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
JavaScript delegate. The code specified by this attribute is called when a key is pressed and released over the associated element.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
JavaScript delegate. The code specified by this attribute is called when a key is released over the associated element.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
JavaScript delegate. The code specified by this attribute is called when the associated element finishes loading.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
JavaScript delegate. The code specified by this attribute is called when the mouse button is pressed over the associated element.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
JavaScript delegate. The code specified by this attribute is called when a key is moved within the associated element.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
JavaScript delegate. The code specified by this attribute is called when the mouse leaves the associated element.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
JavaScript delegate. The code specified by this attribute is called when the mouse is over the associated element.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
JavaScript delegate. The code specified by this attribute is called when the mouse button is released over the associated element.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
JavaScript delegate. The code specified by this attribute is called when the mouse wheel button is rotated.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
The JavaScript method to invoke when the orientation of the device changes.
Available in iPhone OS 1.1.1 and later.
JavaScript delegate. The code specified by this attribute is called when the associated element is pasted.
Available in Safari 1.3 and later.
JavaScript delegate. The code specified by this attribute is called when the associated form element is reset.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
JavaScript delegate. The code specified by this attribute is called when the associated element is resized.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
JavaScript delegate. The code specified by this attribute is called when the associated element is scrolled (a text box would use this, for example).
Available in Safari 1.2 and later. Available in iPhone OS 1.0 and later.
JavaScript delegate for the search input type. The code specified by this attribute is called when a search is performed.
Available in Safari 1.3 and later.
Apple extension.
JavaScript delegate. The code specified by this attribute is called when text within the associated element is selected.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
JavaScript delegate. The code specified by this attribute is called when the associated element begins to be selected. You can use this to prevent selections.
Available in Safari 1.3 and later.
JavaScript delegate. The code specified by this attribute is called when the associated form element is submitted.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Specifies the JavaScript method to invoke when the system cancels tracking for the touch.
Available in iPhone OS 2.0 and later.
Apple extension.
Specifies the JavaScript method to invoke when a given event lifts from the surface.
Available in iPhone OS 2.0 and later.
Apple extension.
Specifies the JavaScript method to invoke when a finger for a given event moves on the surface.
Available in iPhone OS 2.0 and later.
Apple extension.
Specifies the JavaScript method to invoke when a finger for a given event touches the surface.
Available in iPhone OS 2.0 and later.
Apple extension.
JavaScript delegate. The code specified by this attribute is called when the associated element is unloaded from the page.
Available in iPhone OS 2.1 and later.
Specifies the source of an image to be displayed when the mouse is over an element. Useful for rollovers.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Specifies the placeholder text displayed in light grey when the search input field is not currently in use.
Available in Safari 1.3 and later. Available in iPhone OS 1.0 and later.
Apple extension.
Specifies the number of times an audio or video element will loop. The default value is 1
, meaning the element will play only once.
Available in Safari 3.1 and later. Available in iPhone OS 1.0 and later.
Specifies the URL of the page where visitors can find the plug-in required to display content embedded with the embed
element. This has been deprecated along with the embed
element.
Available in Safari 1.0 and later. Available with limited support in iPhone OS 1.0 and later.
Same as the pluginpage
attribute.
Available in Safari 1.0 and later. Available with limited support in iPhone OS 1.0 and later.
Same as the pluginspage
attribute, except it links directly to the plug-in itself (in Java archive format).
Available in Safari 1.0 and later. Available with limited support in iPhone OS 1.0 and later.
Specifies the URL for an image to display while a video element is loading.
Available in Safari 3.1 and later. Available with limited support in iPhone OS 1.0 and later.
Available in Safari 1.3 and later. Available in iPhone OS 1.0 and later.
Specifies the URL to a file of meta data or a list of said files.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Specifies the textual prompt for the isindex
element. Deprecated in HTML 4.01.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Added alone to a textarea’s definition. If present, the textarea will not be editable.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Defines a relationship to another document. The URL specified by this property relates to this document by rel. In other words, it is the next-order relation.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Specifies how many results should be returned by the search input type.
Available in Safari 1.3 and later.
Apple extension.
Defines a relationship to another document. This document relates to the URL specified by this property as rev. In other words, it is the reverse-order relation.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Defines the WAI-ARIA accessibility role of a div
or span
element. See “Supported Accessibility Roles” for more information.
Available in Safari 4.0 and later.
Defines the number of rows in a textarea or frameset.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Defines the number of rows spanned by an individual row definition.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Specifies which rulings to show for a table element. Its potential values are none
, groups
, rows
, cols
, and all
.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Defines the scheme to be used to interpret a meta value.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Specifies the scope handled by a table’s header cells. Possible values are row
, col
, rowgroup
, and colgroup
.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Specifies the number of pixels that a marquee element will scroll between successive redraws of its onscreen view.
Available in Safari 1.2 and later. Available in iPhone OS 1.0 and later.
Specifies the number of milliseconds that a marquee element will delay between successive redraws of its onscreen view.
Available in Safari 1.2 and later. Available in iPhone OS 1.0 and later.
Specifies whether or not a frame or iframe element should have scrollbars.
Setting this property to yes
will always show the scrollbars, no
will never show the scrollbars, and auto
will show the scrollbars only if the content needs to scroll (this is the default).
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Added alone to an option
definition. If present, the option with this property is selected in the list.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Defines the shape of an area element or a client-side image map. Can take the form of default
, rect
, circle
, or poly
.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Defines the physical size of a variety of inputs and fonts. Deprecated in HTML 4.01 (use CSS styling instead).
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Specifies the number of columns that a given col
or colgroup
definition will span.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Specifies a URL for an external file or resource.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Defines a message to show while an object is being loaded within an object
definition.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Specifies the time at which an audio or video element starts playing. By default, the element starts at the beginning.
Also defines the starting sequence number for an ordered list. This functionality is deprecated in HTML 4.01 (use CSS styling instead).
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Specifies CSS style information for the element. The style definitions are placed inline with this property. To specify external styles (defined in external files or in a style
element), use the class
property.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Specifies a textual summary for a table of data.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Specifies the tab index for a hyperlink or input element. Can range from 0 to 32767. As a user tabs through a page, the focus will follow this tabbing order.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Specifies the width of a table’s border. You should use CSS styling to define this property instead.
Available in Safari 1.3 and later. Available in iPhone OS 1.0 and later.
Defines the target window for a hyperlink. You can specify any target definition, but the following values are built-in: “_blank” will load the clicked URL into a new, unnamed window; “_self” will load in the same frame that was clicked; “_parent” will load into the parent frame of the frame that was clicked; “_top” will load the document into the original window, eliminating any existing frameset.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Defines the page-wide text color in the body element. Deprecated in HTML 4.01 (use CSS styling instead).
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Defines a title for the associated element. In Safari, this will display a tool tip for the element with this value.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Specifies the top margin of the page content.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Specifies whether or not a marquee operates at the true speed specified by its parameters. The default behavior will constrain the speed to certain minimum values of scroll delay and scroll amount.
Available in Safari 1.2 and later. Available in iPhone OS 1.0 and later.
Defines a textual content type for elements like scripts and objects, and input types for the input element. See the input types table below for possible values.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Specifies the URL for an image map on a document. Usually this is an anchor (for example, “#myMap”) defined as a map element on the page.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Specifies vertical alignment within a column or table element definition.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Specifies the current value for an input type. For those elements that can display their values (such as text fields), they will display this value onscreen. Otherwise the values are all available as form values when submitted.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Specifies the value type for a param
element within an object definition. Can be data
if the value is evaluated and passed as a string, ref
if the value is a URL and is unevaluated when passed, or object
if the value is an identifier that refers to an object definition.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Specifies the version of the HTML DTD used to verify the document. Deprecated in HTML 4.01, use DOCTYPE declarations instead.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Color of an already-visited hyperlink. Deprecated in HTML 4.01 (use CSS styling instead).
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Specifies the pixel size of the vertical spacing surrounding the element. Deprecated in HTML 4.01 (use CSS styling instead).
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Indicates that a video element should play in-line instead of full-screen. Available in iAd JS only.
Available in iAd JS 1.1 and later.
Specifies the height of the element. Deprecated in HTML 4.01 for applets and table elements.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Defines the wrap style for a textarea. Can be set to soft
to wrap without outputting carriage returns to the field, hard
to wrap with outputting carriage returns, and off
to not wrap at all.
Available in Safari 1.0 and later. Available in iPhone OS 1.0 and later.
Last updated: 2010-08-03