|
The bgcolor attribute is used to control the background of an HTML elmement, specifically page and table backgrounds. Bgcolor can be placed within several of the HTML tags. However, we suggest you only use it for your page's main background () and in tables. For additional background styling, check out CSS Backgrounds. The HTML to change the background color is simple: Backgrounds Images can be placed within elements of HTML. Tables, paragraphs, and bodys may all have a background image. To accomplish this, we use the background attribute as follows. This table has a background image |
HTML - Background Repeat
In the first example we happen to be lucky because our image and our table had exactly the same size pixel dimensions. Everything looks great. When your HTML element is larger than the dimensions of your picture, the image simply begins to repeat itself. Fonts
The tag is used to apply font face, size, and color to the text on your web document. The tag should not be used. You can use style |