Inline Style
suggest changeYou can style a specific element by using the style
attribute:
<span style="color: red">This text will appear in red.</span>
Note: Try to avoid this – the point of CSS is to separate content from presentation.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents