This article is Almost Ready.
Sets an inline style for the element.
This attribute is used to set styling in the form of CSS rules to an element.
Features Chrome Firefox Internet Explorer Opera Safari Basic support scoped
Features Android Firefox Mobile IE Phone Opera Mobile Safari Mobile Basic support scoped
<!doctype html> <title>HTML Style Attribute Usage</title>
This will be white text with a blue background if all goes well! (Not in the doc page, check out the live demo.)
While this is perfectly valid, it is *highly* recommended by the community at large that you not use inline styles. Instead it is much better to simply target the element you want in your CSS and apply rules in there.
This attribute is not accessible through scripting. To access styles through scripting, use the style object.