When we want to use the extra style in a tag then we can use style attributes.
<h1 style="color:grey;">Heading one</h1>
<p style="color:navy; font-size: 30px;">Lorem, ipsum dolor sit amet.</p>
<div style="background: red; width:300px; height:200px;"></div>
output:
No comments