HTML CSS Reference/HTML Attributes Reference/style
"style" Example
<HTML>
<head>
<Title>Example For style</Title>
</head>
<BODY>
<a href="http://www.wbex.ru"
target="_blank"
style="font-family:verdana;color:green; font-size:14pt;">wbex.ru
</a>
</BODY>
</HTML>
style is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |<a> <acronym> |
| |<address> <applet> |
| |<area> <b> |
| |<bdo> <big> |
| |<blockquote> <body> |
| |<br> <button> |
| |<caption> <center> |
| |<cite> <code> |
| |<col> <colgroup> |
| |<custom> <dd> |
| |<del> <dfn> |
| |<dir> <div> |
| |<dl> <dt> |
| |<em> <embed> |
| |<fieldset> <font> |
| |<form> <frame> |
| |<frameset> <hn> |
| |<hr> <i> |
| |<iframe> <img> |
| |<inputtype="button"> <input type="checkbox"> |
| |<input type="file"> <inputtype="hidden"> |
| |<input type="image"> <input type="password"> |
| |<inputtype="radio"> <input type="reset"> |
| |<input type="submit"> <input type="text"> |
| |<ins> <isindex> |
| |<kbd> <label> |
| |<legend> <li> |
| |<link> <listing> |
| |<map> <marquee> |
| |<menu> <noframes> |
| |<object> <ol> |
| |<p> <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> |
+----------------+--------------------------------------------------------------+
"style" Syntax and Note
Note:
This attribute applies style inline rules to an element.
Syntax:
<element style="value"> . . . </element>