How to define Inline Styles in CSS
The simplest method of adding CSS styles to your web pages is to use inline styles. An inline style is applied to an HTML element via its style attribute, like this:
<p style="font-family: "Times New Roman", Times, serif;
color: #3366cc;">Good morning Everyone
</p>
Note: Using Inline styles has one major disadvantage the code can't be reused, For example,if we wanted to apply the style above to another p element, we’d have to type it out again in that element’s style attribute
Comments
Post a Comment
Thanks for Visiting for any questions or suggestions please comment below
Cheers,