Search This Blog

HTML Style Attribute With Background Property Example

HTML Style Attribute With Background Property Example :
<!doctype html>
<html>
<head>
<title> www.kod4u.blogspot.com </title>
</head>
<body>
<center>
<h2> Style Attribute With Background Property Example </h2>
<p style="background-color:orange;"> Hello this is < p > tag and use background-color property </p>
<h5 style="background-color:lightgreen;"> Hello this is < h5 > heading tag </h5>
<br/>
<p> style attribute can apply any html like property or attribute in a single tag </p>
</center>
</body>
</html>
OUTPUT

No comments:

Post a Comment