2. A list of the basic tags

The following is a select list of HTML tags that will get you started on creating webpages. Once you are comfortable with these, you will move onto using them in practice. Print out this page: it is a useful reference.

<html> and </html>
These two tags indicate the beginning and ending of any HTML document. Everything else will appear between them.

<head> and </head>
These tags appear at the beginning of the document. Between them will appear some essential information about the document, but the information here will not appear in the document.

<title> and </title>
These appear inside your "head" tags. Simply put, between them you should insert the title of your document.

<body> and </body>
These two appear after the two "head" tags. Between the <body> tags will appear whatever information you want to appear in the document.

<h1></h1>, <h2></h2>, <h3></h3>, <h4></h4>, <h5></h5>, and <h6></h6>
These allow you to increase or decrease the size of your text to create six different levels of "headings." <h1> is the largest heading, and <h6> is the smallest.

<p></p>
These two tags indicate the beginning and ending of a paragraph. It can be used with an "attribute," such as the <p> attribute "align," as in the following pair of tags: <p align="right"></p>. This determines the allignment of the paragraph on the page.

<ul>, </ul>, & <li>,</li>
Allows you to create a bulleted list of items.

<ol>, </ol>, & <li>,</li>
Allows you to create a numbered list of items.

<b> and </b>, & <i> and </i>
Makes your text bold or italicized respectively.

<hr>
Creates a horizontal rule across the browser window.

<br>
Short for "break." Creates a line break in the middle of your text, allowing you to begin a new line of text without using the <p> tag.

<center>
Aligns your text in the middle of the browser window.

<a href=""> and </a>
Creates a link to another document, where the address of that document appears between the two quotation marks.

<img src="">
Places an image in your document, where the name of the image appears between the two quotation marks. The text to which a link is applied is written between the tags.

NEXT: >>

Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18