Share via


icon

Sets the icon for an element.

Syntax

{ icon:sVar }

Possible values

sVar

that specifies one of the following values:

auto

Use the default icon provided by the web browser.

uri

A URI that specifies an icon

This property has a default value of auto. It is not inherited.

Standards information

This documentation is preliminary and subject to change.

Applies to

a, abbr, acronym, b, bdo, big, blockquote, body, button, caption, center, cite, code, custom, dd, defaults, del, dfn, div, dl, dt, em, embed, fieldset, font, form, hn, hr, i, iframe, img, input type=button, input type=checkbox, input type=file, input type=image, input type=password, input type=radio, input type=reset, input type=submit, input type=text, ins, li, object, ol, p, q, s, span, sub, table, td, th, tt, u, ul, var, xmp

Send feedback about this topic to Microsoft. © 2011 Microsoft Corporation. All rights reserved.