Supported Attributes

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. Attributes marked as obsolete are no longer supported in Safari.

HTML Attributes

abbr

Obsolete. Specifies the abbreviation for a table header cell.

Related Tags
Availability

This attribute has been declared obsolete in the HTML5 specification.

accept

Specifies the supported MIME types for a form. Obsolete for form elements.

Related Tags

accept-charset

Specifies the supported character sets for a form.

Related Tags

accesskey

Specifies the access key for accessibility/screen reading.

Related Tags

action

Specifies the URL of a form processor (for example, a CGI script)

Related Tags

align

Obsolete. Aligns inline elements within an element. Use CSS styling instead.

Availability

This attribute has been declared obsolete in the HTML5 specification.

alink

Obsolete. Specifies the color of a currently active hyperlink. Use CSS styling instead.

Related Tags
Availability

This attribute has been declared obsolete in the HTML5 specification.

alt

Provides a short description of an image, area, or input type.

Related Tags

archive

Obsolete. Specifies a comma-separated list of Java archive URLs.

Related Tags
Availability

This attribute has been declared obsolete in the HTML5 specification.

aria-checked

Indicates whether an ARIA-enabled element, such as a radio button or a checkbox, is selected.

Related Tags
Availability

Available in Safari 4.0 and later.

aria-level

Indicates the hierarchical level of an ARIA-enabled structural element, such as a heading.

Related Tags
Availability

Available in Safari 4.0 and later.

aria-pressed

Indicates the state of an ARIA-enabled toggle button.

Related Tags
Availability

Available in Safari 4.0 and later.

aria-valuemax

Indicates the maximum value of an ARIA-enabled element with a range, such as a progress bar.

Related Tags
Availability

Available in Safari 4.0 and later.

aria-valuemin

Indicates the minimum value of an ARIA-enabled element with a range, such as a progress bar.

Related Tags
Availability

Available in Safari 4.0 and later.

aria-valuenow

Indicates the current value of an ARIA-enabled element with a range, such as a progress bar.

Related Tags
Availability

Available in Safari 4.0 and later.

autocapitalize

Specifies the auto-capitalization behavior of text elements. Possible values are:

none

Do not capitalize any text automatically.

Available in iOS 5.0 and later.

sentences

Capitalize the first letter of each sentence automatically.

Available in iOS 5.0 and later.

words

Capitalize the first letter of each word automatically.

Available in iOS 5.0 and later.

characters

Capitalize all characters automatically.

Available in iOS 5.0 and later.

off

Deprecated in iOS 5.0. Use none instead.

on

Deprecated in iOS 5.0. Use sentences instead.

If the autocapitalize attribute is present but no value is specified (as in <input autocapitalize>), the default value is sentences. If the autocapitalize attribute is not present, the default value is sentences for form and none for input elements with type set to password as in <input type="password">. For all other form controls, the default value is inherited from the enclosing form element.

For example, in the following code fragment, the autocapitalize attribute values for the first-name and last-name input elements default to words which is inherited from the form element:

<form autocapitalize="words">
    First Name: <input name="first-name">
    Last Name: <input name="last-name">
    State: <input name="state" autocapitalize="characters">
    Username: <input name="username" autocapitalize="none">
    Comment: <textarea name="comment" autocapitalize="sentences"></textarea>
</form>
Related Tags
Support Level

Apple extension.

autocomplete

Specifies a form field accepts AutoFill information. If off, deactivates automatic completion for an input element; on, activates automatic completion for the element.

Related Tags

autocorrect

Specifies a form field allows automatic correction. If off, deactivates automatic correction for a form or input element; on, activates automatic correction for the element.

Support Level

Apple extension.

autoplay

Indicates that a media element should begin playing as soon as it is loaded.

Related Tags
Availability

Available in Safari 3.1 and later.

autosave

Specifies an autosave name for a search field, so prior searches can be saved.

Related Tags
Support Level

Apple extension.

axis

Obsolete. Specifies a comma-separated list of category names for a table cell or table header cell. The scope attribute may be used on th elements.

Related Tags
Availability

This attribute has been declared obsolete in the HTML5 specification.

background

Obsolete. Specifies a background image. Use CSS styling instead.

Related Tags
Availability

This attribute has been declared obsolete in the HTML5 specification.

behavior

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.

Related Tags

bgcolor

Obsolete. Sets the background color of an element. Use CSS styling instead.

Related Tags
Availability

This attribute has been declared obsolete in the HTML5 specification.

bgproperties

Sets the background style if a background image has been set. The only value available is fixed, which locks the background in place as the page scrolls.

Related Tags

border

Obsolete. Sets the visible border width for a table. Use CSS styling instead.

Related Tags
Availability

This attribute has been declared obsolete in the HTML5 specification.

bordercolor

Defines the color of a table border; has no effect in Safari.

Related Tags

cellpadding

Defines the pixel spacing within table cells.

Related Tags

cellspacing

Defines the pixel spacing between cells.

Related Tags

challenge

Provides an arbitrary string that acts as the challenge for a keygen element.

Related Tags

char

Obsolete. 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. There is no replacement for this attribute.

Related Tags
Availability

This attribute has been declared obsolete in the HTML5 specification.

charoff

Obsolete. Specifies the offset to the alignment character specified by the char attribute.

Related Tags
Availability

This attribute has been declared obsolete in the HTML5 specification.

charset

Obsolete for a and link elements. Defines the character encoding style of a given linked resource.

Related Tags
Availability

This attribute has been declared obsolete in the HTML5 specification for the a and link elements.

checked

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, and its absence indicates the box is not checked.

Related Tags

cellborder

Sets the width of the border of an individual table cell.

cite

Specifies the URL for the source of a citation, or a string explaining the reason for a change.

Related Tags

class

Space-separated list of CSS classes defining the style for an element.

classid

Obsolete. Specifies the URL of the implementation for an embedded object.

Related Tags
Availability

This attribute has been declared obsolete in the HTML5 specification.

clear

Obsolete. Specifies the flow direction of text around a line break. Use CSS styling instead.

Related Tags
Availability

This attribute has been declared obsolete in the HTML5 specification.

code

Deprecated. Defines the class file for an applet specified with the applet element.

Related Tags
Availability

Deprecated in HTML 4.01, along with the applet element.

codebase

Deprecated for the applet element. Defines the base URL for a class ID, data file, or archive specified with the object element. There is no replacement for the applet attribute.

Related Tags
Availability

Deprecated in HTML 4.01 for the applet element, but not for the object element.

codetype

Obsolete. Defines the content-type for the code embedded by the object element.

Related Tags
Availability

This attribute has been declared obsolete in the HTML5 specification.

color

Deprecated. Defines the text color for font elements. Use CSS styling instead.

Related Tags
Availability

Deprecated in HTML 4.01.

cols

Defines the number of columns in a text area or frameset.

Related Tags

colspan

Defines the number of columns spanned by an individual column definition.

Related Tags

compact

Obsolete. Compresses the space between elements in a list or menu. Use CSS styling instead.

Related Tags
Availability

This attribute has been declared obsolete in the HTML5 specification.

composite

Specifies how an image gets composited onto a Dashboard widget.

Related Tags
Support Level

Apple extension.

content

Specifies the content for a given meta key.

Related Tags

contenteditable

If true, the element can be edited on the fly; if false, it cannot.

controls

If true, the media element includes controls, such as a play button; if false, it does not.

Related Tags
Availability

Available in Safari 3.1 and later.

coords

Specifies a comma-separated list of lengths for the area element or for client-side image maps.

Related Tags

data

Specifies a URL to data required by an embedded object element.

Related Tags

datetime

Specifies the date and time of a change. Used for the del and ins elements. Uses the ISO date format.

Related Tags

declare

Obsolete. Added alone to an object element’s definition. Tells the object to declare but not instantiate itself. There is no replacement attribute.

Related Tags
Availability

This attribute has been declared obsolete in the HTML5 specification.

defer

Added alone to a script element’s definition. Tells the script to defer execution.

Related Tags

dir

Specifies the direction (ltr/rtl) of text within an element.

direction

Specifies the scrolling direction for the marquee element. Can be set to left or right.

Related Tags

disabled

Added alone to an input type’s definition. Disables (grays out) the element.

Related Tags

enctype

Defines the MIME content encoding type for a form.

Related Tags

end

Specifies the time at which an audio or video element stops playing. If this attribute is not specified, the media element plays to completion.

Related Tags
Availability

Available in Safari 3.1 and later.

face

Deprecated. Comma-separated list of font names. Use CSS styling instead.

Related Tags
Availability

Deprecated in HTML 4.01.

for

Specifies the identifier of the control the label is relevant to.

Related Tags

frame

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)

  • border (all four sides)

Related Tags

frameborder

Specifies whether or not to display a frameborder. Can be set to 1 or 0.

Related Tags

headers

Specifies a space-separated list of identifiers of table header cells.

Related Tags

height

Deprecated for applet and table elements. Specifies the height of the element. Use CSS styling for table elements.

Related Tags
Availability

Deprecated in HTML 4.01 for applet and table elements.

hidden

If true, the embedded object is hidden onscreen; if false, it is not.

Related Tags

href

Specifies the URL for any kind of link or area definition.

Related Tags

hreflang

Specifies the language of the resource linked to by the element’s href attribute.

Related Tags

hspace

Obsolete. Specifies the pixel size of the horizontal spacing surrounding the element. Use CSS styling instead.

Related Tags
Availability

This attribute has been declared obsolete in the HTML5 specification.

http-equiv

Used in the meta element. Contains some kind of information about the header of the page.

Related Tags

id

Specifies a unique identifier for an element.

incremental

Specifies whether or not the search input type should perform the search as the user is typing.

Related Tags
Support Level

Apple extension.

ismap

Added alone to an image or input element. Indicates that the element corresponds to a server-side image map.

Related Tags

keytype

Specifies the key type for the keygen element. Can be set to RSA or DSA.

Related Tags

label

Specifies the label for options or option groups within a pull-down menu.

Related Tags

lang

Specifies the base language for the element’s attributes and textual content. Values are standard two-letter language codes.

language

Obsolete. Specifies the language of a script element. Use type instead.

Related Tags
Availability

This attribute has been declared obsolete in the HTML5 specification.

leftmargin

Used in the body element. Specifies the left margin of the page content.

Related Tags

link

Obsolete. Color of an unvisited hyperlink. Use CSS styling instead.

Related Tags
Availability

This attribute has been declared obsolete in the HTML5 specification.

longdesc

Obsolete. Long textual description for images and frames. Augments the alt attribute for an element.

Related Tags
Availability

This attribute has been declared obsolete in the HTML5 specification.

loop

Specifies the number of times a media element (movie or sound) loops. Also specifies the number of times a marquee element loops.

Related Tags

loopend

Specifies the time at which an audio or video element loops 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.

Related Tags
Availability

Available in Safari 3.1 and later.

loopstart

Specifies the time to which an audio or video element returns 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.

Related Tags
Availability

Available in Safari for OS X.

manifest

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.

Related Tags

marginheight

Specifies the height of the margins in a frame.

Related Tags

marginwidth

Specifies the width of the margins in a frame.

Related Tags

max

Same as the maxlength attribute.

Related Tags

maxlength

Specifies the maximum input length for a text input field in characters.

Related Tags

mayscript

Added alone to an applet element’s definition. Tells the script to allow the applet access to the JavaScript scripting objects.

Related Tags

media

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.

Related Tags

method

Specifies the form submission method, either POST or GET.

Related Tags

min

Specifies the minimum input length for a text field.

Related Tags

multiple

Added alone to a select element’s definition. If present, the element permits multiple selections.

Related Tags

name

Deprecated. Specifies the name of the element, which can be used in a variety of ways.

nohref

Obsolete. Added alone to an area element’s definition. If present, the area has no particular action assigned to it.

Related Tags
Availability

This attribute has been declared obsolete in the HTML5 specification.

noresize

Added alone to a frame element’s definition. If present, the frames cannot be resized. The frame element has been deprecated.

nosave

Legacy attribute. Has no effect in Safari.

noshade

Deprecated. Added alone to an hr element’s definition. If present, the rule is drawn as a single line and not as a “groove.” Use CSS styling instead.

Related Tags
Availability

Deprecated in HTML 4.01.

nowrap

Obsolete. Added alone to a table cell’s definition. Suppresses word wrap if present. Use CSS styling instead.

Related Tags
Availability

This attribute has been declared obsolete in the HTML5 specification.

object

Deprecated. Specifies the URL of a serialized applet in an applet element. Use embed instead of applet.

Related Tags
Availability

Deprecated in HTML 4.01, along with the applet element.

onabort

JavaScript delegate. The code specified by this attribute is called when the image element it is assigned to is aborted during load.

Related Tags

onbeforecopy

JavaScript delegate. The code specified by this attribute is called before the associated element is copied.

onbeforecut

JavaScript delegate. The code specified by this attribute is called before the associated element is cut.

onbeforepaste

JavaScript delegate. The code specified by this attribute is called before the associated element has something pasted into it.

onbeforeunload

JavaScript delegate. The code specified by this attribute is called before the associated element is unloaded from the page.

onblur

JavaScript delegate. The code specified by this attribute is called when the associated element loses focus.

onchange

JavaScript delegate. The code specified by this attribute is called when the associated element changes its value.

onclick

JavaScript delegate. The code specified by this attribute is called when the associated element is clicked.

oncontextmenu

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.

oncopy

JavaScript delegate. The code specified by this attribute is called when the associated element is copied.

oncut

JavaScript delegate. The code specified by this attribute is called when the associated element is cut.

ondblclick

JavaScript delegate. The code specified by this attribute is called when the associated element is double-clicked.

ondrag

JavaScript delegate. The code specified by this attribute is called when the associated element is dragged.

ondragend

JavaScript delegate. The code specified by this attribute is called when the associated element stops being dragged.

ondragenter

JavaScript delegate. The code specified by this attribute is called when a drag has entered the associated element.

ondragleave

JavaScript delegate. The code specified by this attribute is called when a drag has left the associated element.

ondragover

JavaScript delegate. The code specified by this attribute is called when a drag is over the associated element.

ondragstart

JavaScript delegate. The code specified by this attribute is called when the associated element has started to be dragged.

ondrop

JavaScript delegate. The code specified by this attribute is called when the associated element is dropped.

onerror

JavaScript delegate. The code specified by this attribute is called when the associated element has an error in loading.

onfocus

JavaScript delegate. The code specified by this attribute is called when the associated element gets focus.

ongesturechange

Specifies the JavaScript method to invoke when fingers are moved during a gesture.

Availability

Available in iOS 2.0 and later.

Support Level

Apple extension.

ongestureend

Specifies the JavaScript method to invoke when the gesture ends (when there are one or zero fingers touching the surface).

Availability

Available in iOS 2.0 and later.

Support Level

Apple extension.

ongesturestart

Specifies the JavaScript method to invoke when two or more fingers touch the surface.

Availability

Available in iOS 2.0 and later.

Support Level

Apple extension.

oninput

JavaScript delegate. The code specified by this attribute is called when text is entered into the associated element.

onkeydown

JavaScript delegate. The code specified by this attribute is called when a key is pressed over the associated element.

onkeypress

JavaScript delegate. The code specified by this attribute is called when a key is pressed and released over the associated element.

onkeyup

JavaScript delegate. The code specified by this attribute is called when a key is released over the associated element.

onload

JavaScript delegate. The code specified by this attribute is called when the associated element finishes loading.

onmousedown

JavaScript delegate. The code specified by this attribute is called when the mouse button is pressed over the associated element.

onmousemove

JavaScript delegate. The code specified by this attribute is called when a key is moved within the associated element.

onmouseout

JavaScript delegate. The code specified by this attribute is called when the mouse leaves the associated element.

onmouseover

JavaScript delegate. The code specified by this attribute is called when the mouse is over the associated element.

onmouseup

JavaScript delegate. The code specified by this attribute is called when the mouse button is released over the associated element.

onmousewheel

JavaScript delegate. The code specified by this attribute is called when the mouse wheel button is rotated.

onorientationchange

The JavaScript method to invoke when the orientation of the device changes.

onpaste

JavaScript delegate. The code specified by this attribute is called when the associated element is pasted.

onreset

JavaScript delegate. The code specified by this attribute is called when the associated form element is reset.

onresize

JavaScript delegate. The code specified by this attribute is called when the associated element is resized.

onscroll

JavaScript delegate. The code specified by this attribute is called when the associated element is scrolled (a text box would use this, for example).

onsearch

JavaScript delegate for the search input type. The code specified by this attribute is called when a search is performed.

onselect

JavaScript delegate. The code specified by this attribute is called when text within the associated element is selected.

onselectstart

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.

onsubmit

JavaScript delegate. The code specified by this attribute is called when the associated form element is submitted.

ontouchcancel

Specifies the JavaScript method to invoke when the system cancels tracking for the touch.

Support Level

Apple extension.

ontouchend

Specifies the JavaScript method to invoke when a given event lifts from the surface.

Availability

Available for iOS.

Support Level

Apple extension.

ontouchmove

Specifies the JavaScript method to invoke when a finger for a given event moves on the surface.

Availability

Available for iOS.

Support Level

Apple extension.

ontouchstart

Specifies the JavaScript method to invoke when a finger for a given event touches the surface.

Availability

Available for iOS.

Support Level

Apple extension.

onunload

JavaScript delegate. The code specified by this attribute is called when the associated element is unloaded from the page.

placeholder

Specifies the placeholder text displayed in light gray when the search input field is not currently in use.

Related Tags
Support Level

Apple extension.

playcount

Specifies the number of times an audio or video element loops. The default value is 1, meaning the element plays only once.

Related Tags

pluginpage

Deprecated. Specifies the URL of the page where visitors can find the plug-in required to display content embedded with the embed element.

Related Tags
Availability

This has been deprecated along with the embed element.

pluginspage

Same as the pluginpage attribute.

Related Tags

pluginurl

Same as the pluginspage attribute, except it links directly to the plug-in itself (in Java archive format).

Related Tags

poster

Specifies the URL for an image to display while a video element is loading.

Related Tags
Availability

Available in Safari for OS X.

Available with limited support in Safari releases for iOS.

precision

profile

Obsolete. Specifies the URL to a file of metadata or a list of files.

Related Tags
Availability

This attribute has been declared obsolete in the HTML5 specification.

readonly

Added alone to a textarea element’s definition. If present, the textarea is not editable.

Related Tags

rel

Defines a relationship of the document containing the link and the destination of the link. The URL specified by this property relates to this document by rel. In other words, it is the next-order relation.

Related Tags

results

Specifies how many results should be returned by the search input type.

Related Tags
Support Level

Apple extension.

rev

Deprecated. Defines a relationship to another document. There is no replacement for this attribute.

Related Tags
Availability

This attribute has been declared obsolete in the HTML5 specification.

role

Defines the WAI-ARIA accessibility role of a div or span element. See Supported Accessibility Roles for more information.

Related Tags
Availability

Available in Safari 4.0 and later.

rows

Defines the number of rows in a textarea or frameset element.

Related Tags

rowspan

Defines the number of rows spanned by an individual row definition.

Related Tags

rules

Specifies which rulings to show for a table element. The rules element’s potential values are none, groups, rows, cols, and all.

Related Tags

scheme

Obsolete. Defines the scheme to be used to interpret a meta value.

Related Tags
Availability

This attribute has been declared obsolete in the HTML5 specification.

scope

Obsolete for td elements. Specifies the scope handled by a table’s header cells. Possible values are row, col, rowgroup, and colgroup.

Related Tags
Availability

Declared obsolete for td elements in the HTML5 specification.

scrollamount

Specifies the number of pixels that a marquee element scrolls between successive redraws of its onscreen view.

Related Tags

scrolldelay

Specifies the number of milliseconds that a marquee element will delay between successive redraws of its onscreen view.

Related Tags

scrolling

Specifies whether or not a frame or iframe element should have scrollbars. Setting this property to yes always shows the scrollbars, no never shows the scrollbars, and auto shows the scrollbars only if the content needs to scroll (this is the default).

Related Tags

selected

Added alone to an option definition. If present, the option with this property is selected in the list.

Related Tags

shape

Obsolete for a elements (use area instead). Defines the shape of an area element or a client-side image map. Can take the form of default, rect, circle, or poly.

Related Tags
Availability

Declared obsolete in the HTML5 specification for a elements.

size

Deprecated for some elements. Defines the physical size of a variety of inputs and fonts. Use CSS styling instead.

Related Tags
Availability

Deprecated in HTML 4.01 for hr, font, and basefont.

span

Specifies the number of columns that a given col or colgroup definition spans.

Related Tags

src

Specifies a URL for an external file or resource.

Related Tags

standby

Obsolete. Defines a message to show while an object is being loaded within an object definition.

Related Tags
Availability

This attribute has been declared obsolete in the HTML5 specification.

start

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.

Related Tags

style

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.

summary

Obsolete. Specifies a textual summary for a table of data.

Related Tags
Availability

This attribute has been declared obsolete in the HTML5 specification.

tabindex

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 follows this tabbing order.

tableborder

Specifies the width of a table’s border. You should use CSS styling to define this property instead.

Related Tags

target

Obsolete for a and link elements. Defines the target window for a hyperlink. You can specify any target definition, but the following values are built-in:

_blank

Loads the clicked URL into a new, unnamed window.

_self

Loads in the same frame that was clicked.

_parent

Loads into the parent frame of the frame that was clicked.

_top

Loads the document into the original window, eliminating any existing frameset.

Related Tags
Availability

Declared obsolete for a and link elements in the HTML5 specification.

text

Obsolete. Defines the page-wide text color in the body element. Use CSS styling instead.

Related Tags
Availability

This attribute has been declared obsolete in the HTML5 specification.

title

Defines a title for the associated element. In Safari, this displays a help element for the element with this value.

topmargin

Specifies the top margin of the page content.

Related Tags

truespeed

Specifies whether or not a marquee operates at the true speed specified by its parameters. The default behavior constrains the speed to certain minimum values of scroll delay and scroll amount.

Related Tags

type

Deprecated for li, ol, and ul (use CSS styling instead). Defines a textual content type for elements like scripts and objects, and input types for the input element. See the Input Type Values for possible values.

Related Tags
Availability

Deprecated in HTML 4.01 for li, ol, and ul. Obsolete for param elements.

usemap

Obsolete for input elements (use img for image maps). 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.

Related Tags
Availability

Declared obsolete for input elements in the HTML5 specification.

valign

Obsolete. Specifies vertical alignment within a column or table element definition. Use CSS styling instead.

Related Tags
Availability

This attribute has been declared obsolete in the HTML5 specification.

value

Deprecated for li elements (use CSS styling instead). Specifies the current value for an input type. For those elements that can display their values (such as text fields), they display this value onscreen. Otherwise the values are all available as form values when submitted.

Related Tags
Availability

Deprecated in HTML 4.01 for li.

valuetype

Obsolete. 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. The name and value attributes may be used instead.

Related Tags
Availability

This attribute has been declared obsolete in the HTML5 specification.

version

Deprecated. Specifies the version of the HTML DTD used to verify the document. Use DOCTYPE declarations instead.

Related Tags
Availability

Deprecated in HTML 4.01.

vlink

Obsolete. Color of a visited hyperlink. Use CSS styling instead.

Related Tags
Availability

This attribute has been declared obsolete in the HTML5 specification.

vspace

Obsolete. Specifies the pixel size of the vertical spacing surrounding the element. Use CSS styling instead.

Related Tags
Availability

This attribute has been declared obsolete in the HTML5 specification.

webkit-playsinline

Indicates that a video element should play inline instead of full-screen. Enabled only in a UIWebView with the allowsInlineMediaPlayback property set to YES.

Related Tags
Availability

Available in iOS 4.0 and later.

width

Specifies the height of the element. Obsolete for table elements. Use CSS styling instead.

Related Tags
Availability

Declared obsolete in the HTML5 specification for table elements.

wrap

Defines the wrap style for a textarea element. 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.

Related Tags