Saturday, 13 December 2014

HTML STYLE|| HTML TEXT COLOR

HTML style have various uses. We can change the text color , font style by the use of this attribute. 



HTML TEXT COLOR

Text color basically defines the color of text used , let see it with example 



Code  


<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