Skip to main content

Printer-friendly versionPrinter-friendly version

Basic HTML Tags

1. Document Structure Tags

These tags set the overall structure for the document

<html>
<head>
<title> The title of your Web page goes here</title>
</head>

<body>

The text and images on your Web page go here

</body>
</html>

2. Text Structure Tags

<p>...</p> paragraph: starts a new line with an empty line inserted
<br /> line break: starts a new line with no extra line inserted

3. Style or Text Tags

A. Changing the appearance of text

<i>...</i> italics
<b>...</b> bold

B. Changing the location of text

<center>...</center> centers text and images
<blockquote>...</blockquote> indents text from the left margin

C. Creating headings

<h1>...</h1> example:

Headings 2 through 5 fall in between

<h6>...</h6> example:

Heading 6 (the smallest)

4. Creating Hypertext Links

(See the reverse side of HTML Guide No. Ia)

Review the source of a basic HTML page (see HTML Guide No. 1b)

To view the source of any web page, right click on the page and choose "View Source"


Return to the HTML I class outline

Olin & Uris Libraries Workshop Series

Olin & Uris Libraries Home


Last updated on 10 December 2009 (moe)
Olin and Uris Libraries
Research & Learning Services
Originally adapted from a Web page by Jill Powell, Engineering Library
URL: http://www.library.cornell.edu/olinuris/ref/ws/html/tags.htm

 
06/25/2010 - 10:07am -