STYLE html attribute

Jump to: navigation, search

STYLE html attribute



Summary

Sets an inline style for the element.


Applies to  ?

Needs Examples: This section should include examples.

Notes

Remarks

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

Syntax

Standards information


Requirements

{

Compatibility

Desktop

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic Support Beta
1
5
3
0.8

Mobile

Feature Android BlackBerry Chrome for mobile Firefox Mobile (Gecko) IE Mobile Opera Mobile Opera Mini Safari Mobile
Basic Support 1
6
Beta
14
4
3
Beta
3

See also

Related pages (MSDN)

  • 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

Attribution

This article contains content originally from external sources.

Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]