style

Support

The use of the style attribute is generally considered to be a bad practice, as it causes the presentation to become intrinsically mixed with the content of the document - a practice that's almost as bad as using the font element to style text.

Example

<p>normal text</p>
<p style="color: red; font-size: 20px;">styled text</p>

Preview

normal text

styled text