Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

< Previous PageNext Page > Hide TOC

Standard HTML

Safari and the Web Kit implement a large subset of the HTML 4.01 Specification defined by the World Wide Web Consortium (W3C). This reference defines every symbol in the specification that Safari implements. If a tag is not listed here or in “ HTML Extensions ” , it is not supported by Safari and the Web Kit. Some tags are also marked as deprecated, which means they are supported by Safari, but since they are no longer supported by the HTML specification are not guaranteed to be supported in the future.

Contents:

Standard HTML Tags
Supported Attributes
Standard Input Type Values


Standard HTML Tags

a

Used to specify a hyperlink or a page anchor.

Example
 <a href="URL">content</a>

When the href attribute is used with this tag, the text or image specified by content becomes a hyperlink, linked to the URL specified by URL . When the name attribute is used, the tag becomes an anchor which can be linked to by a hyperlink.

abbr

Used to specify an abbreviated form of a string.

Example
 <abbr title ="fullstring"> abbrev </abbr>

In Safari, the string specified by abbrev is displayed on screen while the content of fullstring is revealed in tooltip form by holding the mouse over the abbreviated value. This tag is also useful for applications that read the underlying HTML code of a page, such as screen readers.

acronym

Used to specify the acronym form of a string.

Example
 <acronym title ="fullstring"> acro </acronym>

In Safari, the string specified by acro is displayed on screen while the content of fullstring is revealed in tooltip form by holding the mouse over the acronym itself. This tag is also useful for applications that read the underlying HTML code of a page, such as screen readers.

address

Used to specify a street address.

Example
 <address>
 streetaddress
 </address>

This tag specifies a street address. The address enclosed within the tags will be italicized. Line breaks (such as ones between a street address and a city/state/zip) are not automatically inserted.

applet

Used to embed a Java applet within a page.

Example
 <applet height="value" width="value" archive="URL">
 <applet height="value" width="value" code="URL">

The applet will be displayed at the location of the tag in the page, with a height specified by height and a width specified by width . The location of the applet is given by the URL specified by archive if the applet is stored in a Java archive or zip file, or code if the applet is in a standard java class file.

Important:  This tag has been deprecated in the HTML 4.01 standard. You should use the <object> tag to embed Java applets unless you have a specific reason to use this tag .

area

Used to specify a specific area within an image map.

Example
 <area shape ="shapetype" coords ="coords" href ="URL">

This tag defines discrete areas within an image map (defined by an enclosing <map> tag). The area defined by this tag will act as a hyperlink, linked to the URL specified by URL , bounding shape specified by shape and coordinates specified by coords .

b

Used to display text in a bold style.

Example
 <b> content </b>

The text specified by content will be displayed in the bold style but otherwise will match the style of the enclosing element. Styles should be more finely tuned using CSS instead of using HTML style tags.

base

Used to define the base URL for all linked objects on page.

Example
 <base href ="URL">

The URL specified by href will act as the base URL for any relatively-linked object—such as an image, hyperlink, or Java applet—on the page. If a URL is specified absolutely (with a fully-qualified URL), it will not be affected by this tag. This tag must be placed in the head section of a page.

basefont

Used to specify the base font for a page.

Example
 <basefont color ="color" face ="face" size ="size">

The font is used as the default font for the page unless otherwise specified. The font is specified by face , its size is specifed by size , and its color is specified by color . These attributes and their various options are defined in .

Important:  This tag has been deprecated in the HTML 4.01 standard. You should use CSS styling to set this property for the enclosing elements unless you have a specific reason to use this tag.

bdo

Used to display text in a different direction.

Example
 <bdo dir ="dir"> content </bdo>

The text specified by content will be displayed left-to-right if dir is set to “ltr”; it will be displayed right-to-left if it is set to “rtl.”

big

Used to display text in a large size.

Example
 <big> content </big>

The text specified by content will be displayed in a larger size but otherwise will match the style of the enclosing element. Styles should be more finely tuned using CSS instead of using HTML style tags.

blockquote

Used to display text in an indented quotation style.

Example
 <blockquote> content </blockquote>

The text specified by content will be indented (on both sides of the text block), but otherwise will match the style of the enclosing element. Styles should be more finely tuned using CSS instead of using HTML style tags.

body

Defines the entirety of the document body.

Example
 <body> content </body>

The content specified by content comprises most of the content of the page. Though you can specify style attributes within this tag, this behavior has been deprecated in HTML 4.01 and should be replaced with CSS style attributes.

br

Represents a single line break.

Example
 <br>

button

Defines an interactive button on the page.

Example
 <button> content </button>

The text specified by content will be displayed within the frame of the button. This differs from the “button” input type in that you can specify content within the button tags.

caption

Defines a caption for an HTML table.

Example
 <caption> content </caption>

The text specified by content will be displayed as a caption for the table in which it is enclosed.

center

Defines a region of content to be centered.

Example
 <center> content </center>

The content specified by content will be centered within its enclosing element.

Important:  This tag has been deprecated in the HTML 4.01 standard. Styles should be more finely tuned using CSS instead of using HTML style tags.

cite

Used to specify a citation.

Example
 <cite> content </cite>

This tag specifies a citation. The text enclosed within the tags will be italicized.

code

Used to specify text as computer code.

Example
 <code> content </code>

This tag specifies a block of code. The text enclosed within the tags will use a “tele-type” monospaced character font.

col

Used to specify attributes of columns in a table.

Example
 <col properties >

This tag allows you specify attributes for a given table column, with those attributes specified by properties . A series of <col> tags must be placed in order of the actual table columns. For example, to set center column alignment for a columns, you would use <col align="center"> .These must be placed within a table or a colgroup .

colgroup

Used to specify attributes for multiple columns in a table.

Example
 <colgroup properties ></colgroup>

This tag allows you specify attributes for multiple table columns, with those attributes specified by properties . For example, to set center column alignment for three different columns, you would use <colgroup span="3" align="center"> . These must be placed within a table.

dd

Used to specify a definition for a term.

Example
 <dd> content </dd>

This tag specifies a definiton for a term within an HTML definition list. The text enclosed within the tags will be indented under the term specified by the enclosing <dt> block.

del

Used to specify a block of deleted text.

Example
 <del> content </del>

This tag specifies a block of deleted text, which will be marked with a crossbar.

dfn

Used to specify a definition.

Example
 <dfn> content </dfn>

This tag specifies a definition of any sort.

dir

Used to specify a directory list.

Example
 <dir>
 <li> content </li>
 </dir>

This tag specifies a directory list, each element of which is specified by an <li> tag..

Important:  This tag has been deprecated in the HTML 4.01 standard. List styles should be more finely tuned using CSS instead of using HTML style tags, and the structure should be defined instead with the <ul> and <ol> tags.

div

Used to specify a styleless section in a document.

Example
 <div> content </div>

This tag specifies a section in a document, as a block element. Multiple divs will stack vertically on the page. Use CSS styles to tune the style properties of this element.

dl

Used to specify a definition list.

Example
 <dl> content </dl>

This tag specifies a definition list. Within the bounds of this block, terms to be defined should be marked using the <dt> tag, and their definitions should be marked using the <dd> tag,

dt

Used to specify a definition term.

Example
 <dt> content </dt>

This tag specifies a definition term. It should be used to mark an actual term within the bounds of a definition list ( <dl> ). Definitions should follow each term, and be marked using the <dd> tag,

em

Used to specify emphasized text.

Example
 <em> content </em>

This tag specifies a block of emphasized text. Styles should be more finely tuned using CSS instead of using HTML style tags.

fieldset

Used to specify a set of fields.

Example
 <fieldset>
 caption input
 caption input
 </fieldset>

This tag encloses a set of input fields, and will draw a box around them. The fields themselves are made with input tags specified by input and the name of the field is plaintext specified by caption .

font

Defines a font style for the content the tag encloses.

Example
 <font> content </font>

The content specified by content will be altered based on a variety of properties, such as face , size , and color .

Important:  This tag has been deprecated in the HTML 4.01 standard. Styles should be more finely tuned using CSS instead of using HTML style tags.

form

Used to specify an HTML form.

Example
 <form> formContent </form>

This tag specifies a form on a page. Each individual form (with its variety of inputs such as checkboxes, text fields, and password fields) should be enclosed in its own form tag set. If using the form for some kind of submission, the form’s submit button should also be enclosed within this tag set.

frame

Used to specify an individual frame.

Example
 <frame src ="URL">

This tag specifies an individual frame within a frameset. The URL for the frame is specified by src .

frameset

Used to specify a frameset.

Example
 <frameset>

This tag specifies the overall frameset for a number of frames (each specified with the <frame> tag. The URL for the frame is specified by src . The size of each column should be specified by the cols and rows properties.

h1 - h2 - ... - h6

Used to specify various headers.

Example
 <h#> content </h#>

This tag specifies a block of header text, with <h1> representing the largest font size and <h6> representing the smallest. Styles should be more finely tuned using CSS instead of using HTML style tags.

head

Used to specify meta-information about the HTML document.

Example
 <head> content </head>

This tag can contain a number of informational tags, such as <title> for the page title or <style> for a CSS definition block.

hr

Used to specify a horizontal line.

Example
 <hr>

This tag specifies a horizontal line. Styles should be more finely tuned using CSS instead of using HTML style tags.

html

Used to specify the HTML document.

Example
 <html>

This tag specifies an HTML document, and should encompass all the content of the page.

i

Used to display text in an italic style.

Example
 <i> content </i>

The text specified by content will be displayed in the italic style but otherwise will match the style of the enclosing element. Styles should be more finely tuned using CSS instead of using HTML style tags.

iframe

Used to display a URL in an inline frame.

Example
 <iframe src ="URL"></iframe>

The URL specified by src will load into an inline frame placed wherever the iframe is entered.

img

Used to display an inline image.

Example
 <img src ="URL">

The image file specified by src will be displayed inline in the enclosing element.

input

Used to display an input for an HTML form.

Example
 <input type ="type">

This tag specifies some kind of input mechanism in an HTML form. The type specified by type can be one of the following: button , for a basic button; checkbox for a checkbox element; file for a file upload interface; hidden for an invisible input type; password for a shielded password field; radio for a radio button element; reset for a form-reset button; submit for a form-submit button; or text for a standard text field.

Safari on iPhone extends the input tag with two additional properties, autocorrect and autocapitalize, described in “ Standard Attributes .”

ins

Used to specify a block of inserted text.

Example
 <ins> content </ins>

This tag specifies a block of inserted text, which will be marked with an underline.

isindex

Used to specify an index field.

Example
 <isindex prompt ="prompt">

This tag displays a prompt and a search field, which as a form will submit the value using a GET request. The default prompt in Safari is “This is a searchable index. Enter search keywords:”, but this can be overridden by specifying a string for the prompt attribute.

Important:  This tag has been deprecated in the HTML 4.01 standard. You should use standard HTML input types to process queries instead of using this tag.

kbd

Used to specify text as keyboard text.

Example
 <kbd> content </kbd>

This tag specifies a block of keyboard text. The text enclosed within the tags will use a “tele-type” monospaced character font.

label

Used to specify a label for input controls.

Example
 <label for ="id"> content </label>

This tag specifies a label for the input control whose name is specified by for . The text specified by content makes up the body of the label.

legend

Used to specify the caption for a fieldset.

Example
 <legend> content </legend>

This tag specifies the label for a fieldset (specified by the <fieldset> tag). The caption specified by content is merged with the box surrounding the fieldset.

li

Used to specify a list element.

Example
 <li> content </li>

Within a list block (specified by <ul> for an unordered list, or <ol> for an ordered list), this tag specifies single list element, whose content is specified by content . List styles should be more finely tuned using CSS instead of using HTML style tags.

link

Used to specify a connection to an external file.

Example
 <link href ="URL">

This tag specifies an external file which is related to the HTML document it is enclosed in. For example, you should use this tag in the head of an HTML document to specify an external CSS stylesheet.

map

Used to specify a browser-processed image map.

Example
 <map name ="id" id ="id">

This tag encloses the area elements that define the regions of an image map. The identifier specified by id and by name should is used by an <img> element’s usemap property.

menu

Used to specify a menu list.

Example
 <menu> content </menu>

This tag specifies a definition list. Within the bounds of this block, terms to be defined should be marked using the <dt> tag, and their definitions should be marked using the <dd> tag,

Important:  This tag has been deprecated in the HTML 4.01 standard. List styles should be more finely tuned using CSS instead of using HTML style tags, and the structure should be defined instead with the <ul> and <ol> tags..

meta

Used to specify meta-information about an HTML page.

Example
 <meta name ="title" content ="content">

This tag specifies a list of meta-information about a page, such as keywords for a search engine to index. The title specified by name defines what meta-information you are displaying. The text specified by content is the actual meta-information.

In addition to the standard meta values, Safari on iPhone also extends the meta tag with the following additional keys:

For more information about these extensions, see Safari Web Content Guide for iPhone.

noframes

Used to specify content to display to non-frames-compliant browsers.

Example
 <noframes> content </noframes>

This tag specifies a block of content that will display to browsers who do not support frames or have them deactivated.

noscript

Used to specify content to display to a browser that doesn’t run scripts.

Example
 <noscript> content </noscript>

This tag specifies a block of content that will display to browsers who do not support execution of scripts or have them deactivated.

object

Used to embed an object within a page.

Example
 <object height="value" width="value" archive="URL" data="URL">content</object>
 <object height="value" width="value" data="URL" codebase="URL">content</object>

The object will be displayed at the location of the tag in the page, with a height specified by height and a width specified by width.

The location of the object is given by the URL specified by archive for a Java archive, data for some arbitrary embedded data (an image, for example), or codebase for object code of any other type.

ol

Used to specify an ordered list.

Example
 <ol> content </ol>

This tag specifies an ordered, numbered list. Within the bounds of this block, list items should be defined using the <li> tag.

optgroup

Used to specify a group of options.

Example
 <optgroup label ="label"> options </optgroup>

Within a select input type, this tag specifies a subgroup of options. Within the bounds of this block, individual options are specified using the <option> tag. The title of the subgroup is specified by label , and in Safari is displayed as bold grey text, with its associated options indented under it.

option

Used to specify a list option.

Example
 <option value ="value"> title </option>

Within a select input type, this tag specifies a single selectable option. The form value of the option is specified by value , and its visible name is specified by title . These can be placed directly within a select input type or within an optgroup within it.

p

Used to display a paragraph.

Example
 <p> content </p>

This tag is used to indicate a paragraph in the document.

param

Represents a parameter for an object declaration.

Example
 <param name ="name" value ="value">

This tag represents a specific parameter for an embedded object element. You can place any number of these , but they must be enclosed within the <object> block. The parameter’s name/key is specified by name and its value is specified by value .

pre

Represents a block of pre-formatted text.

Example
 <pre> content </pre>

This tag preserves the formatting of the block of text specified by content , specifically line breaks and multiple spaces (normal text operation in Safari displays no difference between a single space and multiple consecutive spaces). In Safari, text enclosed in this element is also rendered in a monospace “tele-type” font.

q

Used to display an inline quotation.

Example
 <q> content </q>

The text specified by content will be displayed in quotes but otherwise will match the style of the enclosing element. Styles should be more finely tuned using CSS instead of using HTML style tags. Para

s

Defines a block of text in strikethrough style.

Example
 <s> content </s>

The content specified by content will be rendered with a crossbar.

Important:  This tag has been deprecated in the HTML 4.01 standard. The <del> tag is more appropriate for this function. Styles should be more finely tuned using CSS instead of using HTML style tags.

samp

Used to specify text as sample code.

Example
 <samp> content </samp>

This tag specifies a block of code. The text enclosed within the tags will use a “tele-type” monospaced character font.

script

Used to embed and execute script code.

Example
 <script type ="mimetype"> code </script>

This tag specifies a block of script code, such as JavaScript. The code specified by code will be invisible onscreen, but will be visible in the page source. Code embedded within script tags (unless defined inside functions) is executed immediately on page load. The MIME type of the script should be specified by type .

select

Used to specify a selection input type.

Example
 <select> options </select>

This tag specifies a selection menu. This block must contain a set of option elements or optgroup elements containing options. In Safari, if the size property is explicitly set for this tag, the input box will resemble a Mac OS X combo box, otherwise it will resemble a pop-up menu.

small

Used to display text in a small size.

Example
 <small> content </small>

The text specified by content will be displayed in a smaller size but otherwise will match the style of the enclosing element. Styles should be more finely tuned using CSS instead of using HTML style tags.

span

Used to specify an inline styleless section in a document.

Example
 <span> content </span>

This tag specifies a section in a document. Multiple consecutive spans will be placed horizontal on the page by default. Use CSS styles to tune the style properties of this element.

strike

Defines a block of text in strikethrough style.

Example
 <strike> content </strike>

The content specified by content will be rendered with a crossbar.

Important:  This tag has been deprecated in the HTML 4.01 standard. The <del> tag is more appropriate for this function. Styles should be more finely tuned using CSS instead of using HTML style tags.

strong

Used to specify text as “strong” emphasized text.

Example
 <strong> content </strong>

This tag specifies a block of emphasized text. Styles should be more finely tuned using CSS instead of using HTML style tags.

style

Used to define an inline stylesheet.

Example
 <style type ="mimetype"> css_declarations </style>

This tag specifies a CSS stylesheet within the page. All CSS declarations should be placed within this block. This tag should be placed in the head section of a page. If you are linking to an external stylesheet, use the link element instead.

sub

Used to specify text as subscript.

Example
 <sub> content </sub>

The text specified by content will be displayed in a smaller size and will be subscripted, but otherwise will match the style of the enclosing element. Styles should be more finely tuned using CSS instead of using HTML style tags.

sup

Used to specify text as superscript.

Example
 <sup> content </sup>

The text specified by content will be displayed in a smaller size and will be superscripted, but otherwise will match the style of the enclosing element. Styles should be more finely tuned using CSS instead of using HTML style tags.

table

Used to define a data table.

Example
 <table> content </table>

This tag defines a table structure for a page. The HTML specified by content should contain the other structural elements such as table rows ( <tr> ) and table cells ( <td> ).

tbody

Used to define a table’s body.

Example
 <tbody> content </tbody>

This tag defines a the body for a table. It is only a structural definition and by default does not render anything unique, so the HTML specified by content should contain the other structural elements such as table rows ( <tr> ) and table cells ( <td> ).

td

Used to define a table cell.

Example
 <td> content </td>

This tag defines a cell within a table. Cells are usually enclosed by table row ( <tr> ) definitions. Consecutive table cells will be placed horizontally onscreen.

textarea

Used to specify a text area input type.

Example
 <textarea rows ="value" cols ="value"> content </select>

This tag specifies a scrollable, multi-line text input block. You can specify its size onscreen by specifying values for rows and cols .

tfoot

Used to define a table’s footer.

Example
 <tfoot> content </tfoot>

This tag defines a footer for a table. It is only a structural definition and by default does not render anything unique, so the HTML specified by content should contain the other structural elements such as table rows ( <tr> ) and table cells ( <td> ).

th

Used to define header text for a table column.

Example
 <th> content </th>

Table headers should be placed in their own table row, usually the first in a table definition, and should correspond in number to table cell definitions in later rows. In Safari, the text specified by content will be displayed in a bold face.

thead

Used to define a table’s header.

Example
 <thead> content </thead>

This tag defines a header for a table. It is only a structural definition and by default does not render anything unique, so the HTML specified by content should contain the other structural elements such as table rows ( <tr> ) and table cells ( <td> ).

title

Used to define the visible window title for the page.

Example
 <title> content </title>

The text specified by content will be displayed at the top of a browser window, but will remain invisible in embedded Web Kit web views unless requested programatically. This tag must be placed in the head section of a page.

tr

Used to define a table row.

Example
 <tr> content </tr>

This tag defines a row within a table. Table cells are usually enclosed by these rows. Consecutive table rows will be placed vertically onscreen.

tt

Used to display text in a “tele-type” style.

Example
 <tt> content </tt>

The text specified by content will be displayed in a monospaced “tele-type” style, but otherwise will match the style of the enclosing element. Styles should be more finely tuned using CSS instead of using HTML style tags.

u

Defines a block of underlined text.

Example
 <u> content </u>

The content specified by content will be underlined.

Important:  This tag has been deprecated in the HTML 4.01 standard. The <ins> tag is more appropriate for this function. Styles should be more finely tuned using CSS instead of using HTML style tags. Additionally, underlined text should not be used as it may be confused with actual hyperlinks.

ul

Used to specify an unordered list.

Example
 <ul> content </ul>

This tag specifies an unordered, bulletted list. Within the bounds of this block, list items should be defined using the <li> tag.

var

Used to specify a variable.

Example
 <var> content </var>

This tag specifies a variable. The text enclosed within the tags will be italicized.

Supported Attributes

The following table defines all the atttibutes that are supported by Safari and the Web Kit. This reference defines every symbol in the specification that Safari implements. If an attribute is not listed here, it is not supported by Safari and the Web Kit. Some attributes are also marked as deprecated, which means they are supported by Safari, but since they are no longer supported by the HTML specification are not guaranteed to be supported in the future.

abbr

Abbreviation for a table header cell

accept-charset

Supported character sets for a form

accept

Supported MIME types for a form

accesskey

Access key for accessibility/screen reading

action

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

align

Used to align inline elements within an element. Deprecated in HTML 4.01 (use CSS styling instead).

alink

Color of currently active hyperlink. Deprecated in HTML 4.01 (use CSS styling instead).

alt

Short description of an image, area, or input type.

archive

Comma-separated list of Java archive URLs.

autocapitalize

Can be set to “off” or “on”, to turn form automatic capitalization off and on for that element, respectively.

Note:  Not part of the HTML 4.01 standard.

Availability

Available in Safari on iPhone 1.1.1 and later.

autocomplete

Can be set to “off” or “on”, to turn form autocompletion off and on for that element, respectively.

Note:  Not part of the HTML 4.01 standard.

autocorrect

Can be set to “off” or “on”, to turn form automatic correction off and on for that element, respectively.

Note:  Not part of the HTML 4.01 standard.

Availability

Available in Safari on iPhone 1.1.1 and later.

autosave

Used for the “search” input type. Use this specify an autosave name for the search field, so prior searches can be saved.

Note:  Apple extension.

axis

Comma-separated list of category names for a table cell or table header cell.

background

Specifies a background image. Deprecated in HTML 4.01 (use CSS styling instead).

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.

Note:  Not part of the HTML 4.01 standard.

bgcolor

Sets the background color of an element. Deprecated in HTML 4.01 (use CSS styling instead).

bgproperties

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.

Note:  Not part of the HTML 4.01 standard.

border

Sets the visible border width for a table.

bordercolor

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

Note:  Not part of the HTML 4.01 standard.

cellpadding

Defines the pixel spacing within table cells.

cellspacing

Defines the pixel spacing between cells.

char

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.

challenge

An arbitrary string which acts as the challenge for a keygen.

Note:  Not part of the HTML 4.01 standard.

charoff

Used to specify the offset to the alignment character specified by the “char” attribute.

charset

Defines the character encoding style of a given linked resource.

checked

This attribute is placed within the checkbox element, it will show up as checked on the HTML form. It does not require a value: its presence indicates the box is checked, its absence indicates it is not.

cellborder

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

Note:  Not part of the HTML 4.01 standard.

cite

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

class

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

classid

Specifies the URL of the implementation for an embedded object.

clear

Specifies the flow direction of text around a line break. Deprecated in HTML 4.01 (use CSS styling instead).

code

Defines the class file for an applet specified with the applet tag. Deprecated in HTML 4.01 along with the applet tag.

codebase

Defines the base URL for a classid, data file, or archive specified with the object tag. Deprecated in HTML 4.01 for the applet tag, but not for the object tag.

codetype

Defines the content-type for the code embedded by the object tag.

color

Defines the text color for the font elements. Deprecated in HTML 4.01 (use CSS styling instead).

cols

Defines the number of columns in a textarea or frameset.

colspan

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

compact

Compresses the space between elements in a list or menu. Deprecated in HTML 4.01 (use CSS styling instead).

composite

Specifies how an image gets composited onto a Dashboard widget.

Note:  Apple extension.

content

Specifies the content for a given meta key.

contenteditable

Set to true or false, defines whether or not a given element can be edited on the fly.

Note:  Not part of the HTML 4.01 standard.

coords

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

data

URL to the data required by an embedded object element.

datetime

Used for the del and ins elements, specifies the date and time of the change. Uses the ISO date format.

declare

Added alone to an object element’s definition. Tells the object to declare but not instantiate itself.

defer

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

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”.

Note:  Not part of the HTML 4.01 standard.

disabled

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

enctype

Defines the MIME content encoding type for a form.

face

Comma-separated list of font names. Deprecated in HTML 4.01 (use CSS styling instead).

for

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

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), and border (all four sides).

frameborder

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

headers

Space-separated list of identifiers of table header cells.

height

Specifies the height of the element. Deprecated in HTML 4.01 for applets and table elements.

hidden

Used for objects embedded with the deprecated embed tag. If set to “true”, the object will be hidden onscreen. Its default value is “false”.

href

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

hreflang

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

hspace

Specifies the pixel size of the horizontal spacing surrounding the element. Deprecated in HTML 4.01 (use CSS styling instead).

html

http-equiv

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

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.

Note:  Apple extension.

ismap

Specifies whether or not an image or image-type input corresponds to a server-side image map.

keytype

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

Note:  Not part of the HTML 4.01 standard.

label

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

lang

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

language

Specifies the language of a script element. Deprecated in HTML 4.01.

left

Specifies the left coordinate of a layer element.

Note:  Not part of the HTML 4.01 standard.

leftmargin

Placed in the body element, specifies the left margin of the page content.

Note:  Not part of the HTML 4.01 standard.

link

Color of an unvisited hyperlink. Deprecated in HTML 4.01 (use CSS styling instead).

longdesc

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

loop

Specifies whether or not the embedded object (movie or sound) will loop. Also specifies if a marquee element will loop.

Note:  Not part of the HTML 4.01 standard.

marginheight

Specifies the height of the margins in a frame.

marginwidth

Specifies the width of the margins in a frame.

max

Same as the maxlength attribute.

Note:  Not part of the HTML 4.01 standard.

maxlength

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

mayscript

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

Note:  Not part of the HTML 4.01 standard.

media

For the style and link elements, defines the media type that the element is designed for. Its default value is “screen”, but 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.

method

Specifies the form submission method, either POST or GET.

min

Specifies the minimum input length for a text field.

Note:  Not part of the HTML 4.01 standard.

multiple

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

name

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

nohref

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

noresize

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

nosave

Legacy attribute. Has no effect in Safari.

noshade

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).

nowrap

Added alone to a table cell’s definition. Suppresses word wrap if present.Deprecated in HTML 4.01 (use CSS styling instead).

object

Specifies the URL of a serialized applet in an applet element. 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.

Note:  Not part of the HTML 4.01 standard.

onbeforecopy

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

Note:  Not part of the HTML 4.01 standard.

onbeforecut

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

Note:  Not part of the HTML 4.01 standard.

onbeforepaste

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

Note:  Not part of the HTML 4.01 standard.

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.

Note:  Not part of the HTML 4.01 standard.

oncopy

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

Note:  Not part of the HTML 4.01 standard.

oncut

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

Note:  Not part of the HTML 4.01 standard.

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.

Note:  Not part of the HTML 4.01 standard.

ondragend

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

Note:  Not part of the HTML 4.01 standard.

ondragenter

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

Note:  Not part of the HTML 4.01 standard.

ondragleave

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

Note:  Not part of the HTML 4.01 standard.

ondragover

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

Note:  Not part of the HTML 4.01 standard.

ondragstart

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

Note:  Not part of the HTML 4.01 standard.

ondrop

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

Note:  Not part of the HTML 4.01 standard.

onerror

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

Note:  Not part of the HTML 4.01 standard.

onfocus

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

oninput

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

Note:  Not part of the HTML 4.01 standard.

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.

onpaste

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

Note:  Not part of the HTML 4.01 standard.

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.

Note:  Not part of the HTML 4.01 standard.

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).

Note:  Not part of the HTML 4.01 standard.

onsearch

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

Note:  Apple extension.

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.

Note:  Not part of the HTML 4.01 standard.

onsubmit

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

onunload

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

oversrc

Specifies the source of an image to be displayed when the mouse is over an element. Useful for rollovers.

pagex

Specifies the x-coordinate of the location of a layer on the page.

Note:  Not part of the HTML 4.01 standard.

pagey

Specifies the y-coordinate of the location of a layer on the page.

Note:  Not part of the HTML 4.01 standard.

placeholder

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

Note:  Apple extension.

plain

Added alone to an unordered list element’s definition. If present, the list element (or all the list elements, if placed in the enclosing ul element) will not have a bullet in front of it.

Note:  Not part of the HTML 4.01 standard.

pluginpage

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.

Note:  Not part of the HTML 4.01 standard.

pluginspage

Same as the pluginpage attribute.

pluginurl

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

precision

profile

Specifies the URL to a file of meta data or a list of said files.

prompt

Specifies the textual prompt for the isindex element. Deprecated in HTML 4.01.

readonly

Added alone to a textarea’s definition. If present, the textarea will not be editable.

rel

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.

results

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

Note:  Apple extension.

rev

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.

rows

Defines the number of rows in a textarea or frameset.

rowspan

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

rules

Specifies which rulings to show for a table element. Its