Search This Blog

HTML Style Attribute With Margin Property Example

HTML Style Attribute With Margin Property Example :
<!doctype html>
<html>
<head>
<title> www.kod4u.blogspot.com </title>
</head>
<body>
<h2> Style Attribute With Margin Property Example </h2>

<p style="margin-left:20px"> write a content here </p>
<p style="color:blue; margin-left:50px;"> in this we use two property in a style attribute color and margin.<br/> color can apply color in all text and margin can apply space in left or right side </p>

</body>
</html>
OUTPUT

No comments:

Post a Comment