Wednesday, December 26, 2018

Background colour.

HTML Background colour:-

<html>
<body style="background-color:blue;">

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

</body>
</html>

OUTPUT:-

  • The background-color property defines the background color .
EXAMPLE:- <body style="background-color:blue;">

No comments:

Post a Comment

Internal Javascripts

Internal Javascripts :    The script code can be written directly into the HTML document. script code is placed in header of the docume...