
Base elements:
<html></html> -- defines the page as an html document
<head></head> -- area at the beginning that provides information to the browser, but does not show on the page
<title></title> -- element within heading that shows the title of the page. This is the title that shows on the top of the browser and for bookmark purposes, but does not appear on the page itself.
<body></body> -- defines the actual body of the page
Here's how the basic format for a web page could look:
|
<html> <head> <title> My Web Page</title></head> <body> Main body of the page, with text, pictures, etc. </body> </html> |
text="#000000" makes text on the page blackHere's how the body tag might look with several elements:
link="#FF0000" makes unvisited links on the page red
vlink="#00FF00" makes previously visited links green
alink="#0000FF" makes links in the process of being clicked blue
bgcolor="#FFFFFF" makes the background color of the page white
background="URL.gif" uses a gif image and tiles it to be the background of the page
| WebTricks Main Page | |