Wednesday, 20 January 2016

Example of Inline Style

<!DOCTYPE html>
<html>
<body style="background-color:yellow;">
<h2 style="background-color:red; font-family:verdana; text-align:center">This is a heading</h2>
<p style="background-color:green; font-family:arial;color:red;font-size:20px;">This is a paragraph.</p>
<p style="color:blue;margin-left:20px;">This is a paragraph.</p>
</body>

</html>

0 comments:

Post a Comment