rss

HTML - Backgrounds


Adding a Background Image

A background image for a web page can be set using the <BODY> tag:

Attribute Visual Effect
BACKGROUND="image" Displays image as background
bgcolor="name_of_Colour or #XXXXXX" Displays the given colour as background
LINK="Colour" Set the colour of hyperlinks
ALINK="Colour" Sets the colour of the active link
VLINK="Colour" Sets the colour of already-visited links
TEXT="Colour" Default text colour

Colours are defined using the notation #RRGGBB, where RR, GG, and BB each represent a hexadecimal value between 00 and FF for Red, Green, and Blue, respectively.

See Colour Table
This document entitled « HTML - Backgrounds » from Kioskea (en.kioskea.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the licence, as this note appears clearly.