STYLE attribute

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
12 out of 28 rated this helpful - Rate this topic

Sets an inline style for the element.

HTML 4.01 Specification, Section 14.2.3

Syntax

HTML
<element STYLE="" ... >
JavaScript

Property values

sStyle

A String that specifies the inline style.

Standards information

Remarks

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

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

See also

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
optGroup
option
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

 

 

Send comments about this topic to Microsoft

Build date: 11/28/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

© 2013 Microsoft. All rights reserved.