HTML Cookbook Basic HTML Course

It's Easy!



This is a sample page with a marble background in a span.

This indented div has a few words with the background image.

This paragraph uses background-image in a span.

Unfortunately, WebTV does not read background-image in a span.

But it does read a background color.

One way to get a background color behind a word or a phrase:
<span style="background-color:#333333">text</span>

If can this you like this effect, see the highlighter page.

I also made pages using my background-image in a page, a div and a paragraph.



Valid XHTML 1.0!

Valid CSS!