Web Designing...

Web Designing...

Wednesday, February 10, 2016

HTML Background Color

HTML Background Color


The background-color property defines the background color for an HTML element:
 
  <!DOCTYPE html>
     <html>
        <body style="background-color:lightgrey;">
           <h1>This is a heading</h1>
           <p>This is a paragraph.</p>
        </body>

     </html>

No comments:

Post a Comment