Inline CSS is used to apply a unique style for a single line or element.
For use the Inline style we add the style attribute to particular element and this style attribute contain any CSS property.
Syntax of Inline CSS :
<tag style="cssproperty1:value; cssproperty2:value;"> </tag>
Example :
<!DOCTYPE html>
<html>
<body>
<h1 style="color:red;text-align:center;">This is a heading</h1>
<p style="color:blue;">This is a paragraph.</p>
</body>
</html>