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. Style or Text Attribute Tags

A. Tags for italics and bolding

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

B. Tags for text spacing, centering, and headings

<p>...</p> paragraph; starts a new line with an empty line inserted
<br /> line break; starts a new line with no extra line inserted
<hr /> horizontal rule; draws a horizontal line
<center>...</center> centers text and images
<blockquote>...</blockquote> indents text from the left margin

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

Heading 1 (the largest)

Headings 2 through 5 fall in between

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

Heading 6 (the smallest)

 


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


Last updated on January 12, 2005 (im & lh)
Olin and Uris Libraries
IRIS: Instruction, Research & Information Services
Originally adapted from a Web page by Jill Powell, Engineering Library
URL: http://www.library.cornell.edu/olinuris/ref/ws/html/tags.htm