HTML style have various uses. We can change the text color , font style by the use of this attribute.
<html>
<body>
<h1 style="color:blue">This is a heading</h1>
<p style="color:red">This is a paragraph.</p>
</body>
</html>
we got the output like following :-
HTML TEXT COLOR
Text color basically defines the color of text used , let see it with exampleCode
<html>
<body>
<h1 style="color:blue">This is a heading</h1>
<p style="color:red">This is a paragraph.</p>
</body>
</html>
we got the output like following :-
0 comments:
Post a Comment