Web page tags tell a browser how to present the items on a web page. All web page tags begin with this symbol "<" and end with this symbol ">". Web page items always lie between two tags. The first tag identifies the command and the second tag ends the command. The second tag will have this symbol "/" in front of the command. For example, in order for a browser to know this is a web page, the page must begin with <html> and end with </html>. Notice the symbols around the tag "html" and the"/" in front of the ending command. All of the information on the page will fall between these two commands. That is how a browser knows this page is a web page.
Basic tags
<html> The whole document goes
between these tags</html>
<head><title>The information here will be on the title bar in your browser window. </title></head>
<body>The body of your document will go between these tags</body>
Font size and style tags
<font size=n> Determines how large
the font will be. </font>
Link Tags
<a href="http://www.nowhere.com">Provides
a link to another web site</a>
or
<a href="mypage.html">Provides a link to another page on the server your web page is on.</a>
Paragraph Tags
<p align=center> Aligns a paragraph
in the center of the page.</p>
<p align=right> Aligns a paragraph on the right side of the page.</p>
<p align=left> Aligns a paragraph on the left side of the page.</p>
<p align=justify> Makes straight margins on each side of the
paragraph.</p>
The above tag can be used for text or graphics.
<p>This tag alone simply designates a paragraph. It provides for a new paragraph. </p>
<br>Begins a new line under the item before this tag. It is similar to using the return key on the computer.</br>
Images or Graphics tags
<img src="image.gif">Inserts
an image or graphic in this location.
This tag does not have an end command. The
"image.gif" part of the tag must be the location of the graphic.
Graphic names usually end with ".gif "or ".jpg".
Return to the Tutorial
Web Page Tutorial by John Williams