What is the html code to add a background colour or background image to the header and some paragraph?

What is the html code to add a background colour or background image to the header and some paragraph? Please help. Thanks.

Public Comments

  1. <background="http://yoursite.com/yourbackground.jpg>
  2. You can style the background with color or an image (or both) using CSS in the head section of your web page. For example: <style type="text/css"> <!-- body { background-color: #99CCFF; background-image: url(graphics/BG.gif); } --> </style> Change #99CCFF to your hexadecimal color code of choice or a valid color name. Change the url of your image to point to wherever that is stored. For paragraphs, simply use the <p> tag within the body of your page. <p>Some text here.</p> or a centered paragraph would be: <p align="center">More text here.</p> Good luck!
Powered by Yahoo! Answers