Setting Background-color in html

Setting the background-color of a web page just by using only html

This bgcolor is used for setting the background color to the body

code:

<!DOCTYPE html>
<html>
<body bgcolor="skyblue">

<h1>This is a heading</h1>
<p>This is a paragraph.</p>

</body>
</html>

Output:


Comments

Popular posts from this blog

Headings In HTML

Introduction and Format of HTML

Font Tag