HTML With inline CSS Code For Website - Learn About Website | DaddyFile

0

Inline Styling (Inline CSS) Explain

Inline styling is used to apply a unique style to a single HTML element:
Inline styling uses the style attribute.
This example changes the text color of the <h1> element to blue.



Html Code:

<!DOCTYPE html>
<html>
<body>

<h1 style="color:blue;">This is a Blue Heading</h1>

</body>
</html>



Html Code Result:

This is a Blue Heading

Post a Comment

 
Top