The style attribute defines a CSS style directly on an element as opposed to in a style element or external stylesheet.
<element style="styleValue">
style |
Yes | Yes | Yes | Yes | Yes |
<!DOCTYPE HTML>
<html>
<body>
<a href="http://java2s.com"
style="background: grey; color:white; padding:10px">
Visit the site
</a>
</body>
</html>