www.fgks.org   »   [go: up one dir, main page]

STYLE Attribute

Sets an inline style for the element.

Syntax

HTML <ELEMENT STYLE=sStyle ... >
ScriptingN/A

Possible Values

sStyleA String that specifies the inline style.

Remarks

This attribute is not accessible through scripting. To access styles through scripting, use the style object.

Standards Information

This attribute is defined in HTML 4.0 World Wide Web link.

Applies To

A, ABBR, ACRONYM, ADDRESS, APPLET, AREA, B, BIG, BLOCKQUOTE, BODY, BR, BUTTON, CAPTION, CENTER, CITE, CODE, COL, COLGROUP, CUSTOM, DD, DEL, DFN, DIR, DIV, DL, DT, EM, EMBED, FIELDSET, FONT, FORM, hn, HR, I, IFRAME, IMG, INPUT type=button, INPUT type=checkbox, INPUT type=file, INPUT type=hidden, INPUT type=image, INPUT type=password, INPUT type=radio, INPUT type=reset, INPUT type=submit, INPUT type=text, INS, ISINDEX, KBD, LABEL, LEGEND, LI, LISTING, MAP, MARQUEE, MENU, OBJECT, OL, P, PLAINTEXT, PRE, Q, RT, RUBY, S, SAMP, SELECT, SMALL, SPAN, STRIKE, STRONG, SUB, SUP, TABLE, TBODY, TD, TEXTAREA, TFOOT, TH, THEAD, TR, TT, U, UL, VAR, XMP


MSDN Library
Web Development
HTML and CSS
HTML and DHTML Reference
Properties
STYLE