Sunday, 20 March 2016

Background Change, Font style in HTML

Background full change and Text color and Text background Change
<html>
<body style="background-color:yellow;">
<h1 style="background-color:red;">This is a heading 1</h1>
<p style="background-color:grey;">This is a paragraph with background Change.</p>
</body>
</html>


OUTPUT



Font Style Change in HTML
<html>
<body>

<p style="font-family:Courier;color:blue;font-size:50px;">
This is a example of Font style change.</p>
</body>
</html>


OUTPUT
This is a example of Font style change.

Previous Page                    Next page

No comments:

Post a Comment