HyperText Markup Language/Tag List/body

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Use[edit | edit source]

This identifies the main content of a Web Page.

Example[edit | edit source]

<body background="blue.jpg" link="red" vlink="red" style="font-family: Arial">
...
</body>

Optional attributes[edit | edit source]

background[edit | edit source]

Adds a background image to a web page.

link[edit | edit source]

Changes the colour of the unvested links on the webpage.

style[edit | edit source]

CSS and attributes.

vlink[edit | edit source]

Changes the colour of a visited link on the webpage.

Standard attributes[edit | edit source]

More info[edit | edit source]

A link to a page with more info, then the name of the site the info came from (i.e. W3Schools).