The style attribute is used to apply styles to an element.
This attribute can be used in most elements.
<p style="color: red"> - </p>
| Attribute | Value | Explanation |
|---|---|---|
| style=" " | CSS code | defines styles |
<h1 style="font-size: 140%; color: #ff0000;">The Style Attribute</h1>