Text Tags Basic Tags


Basic Tags


<html></html>

Identifies the beginning and end of an HTML document. Every webpage begins with <html> and ends with </html>.

<head></head>

Contains the title of webpage and other information that isn't displayed on the webpage itself.

Attributes:

<title></title>: inserts the title of the page at the top of the browser.
ex.
<title>HTML Reference Guide</title>

<body></body>

This is where the visible part of your page is located. (More than one attribute can be used within the brackets)

Attributes:

<body bgcolor=?>: sets the background color, using the color name or its hex value. ex. <body bgcolor="#ffffff"> gives the page a white background.
<body background=?>: names the page's background image, if you want an image to be tiled in the background of your page. For tips on how to choose a good background image and/or color, click here. ex. <body background="imagename.gif">
<body text=?>: sets the text color, using the color name or its hex value. The default is black.
<body link=?>: sets the color of the links, using the color name or its hex value. The default is blue.
<body vlink=?>: short for "visited link", sets the color of the links that have already been clicked on, using the color name or hex value. The default is red.
<body alink=?>: short for "active link", sets the color of the links being clicked on. The default is purple.

 

Return to Main Page Information Systems & Technology