Forum

Number Of Page View:100,000+/Months
LOGIN |New User

Reply

How you define HTML Style Attribute in HTML?
 We use Style Attribute in HTML how the text look like in HTML.Using Style we can implement the CSS in HTML.
 I have given you some examples which show use of Style in HTML.
1.style="background-color:red"
2.style="font-size:15px"
3.style="font-family:verdana"
4.style="text-align:left"
Example:
<html>
<body style="background-color:yellow;">
<h1>Style Attribue</h1>
<p style="font-family:verdana;color:green">
This is my first HTML page where I use style attribute</p>
</body>
</html>

Posted By: Name:Rajesh Kr URL: How you define HTML Style Attribute in HTML?