Contents:
The basic structure is:
<html>
<head>
<title>I'm the page title</title>
</head>
<body>
<p>I am a paragraph of text
</body>
</html>
There are three types of lists:
In the first two, list items are started with <li>. For example, the unordered list above was created with:
<ul> <li> Ordered: ... <li> Unordered: ... <li> Definition: ...
Certain pairs of tags add emphasis to type. There are two types: physical and logical. Here are some physical tags:
Here are some logical tags:
To insert a link to another URL in an HTML file, use
<A HREF="http://...">click here</a>
A more advanced use is to link to a specific phrase inside a document; in this case the # sign and a word are appended to the URL. For example:
<A HREF="http://www.famous.com/famous.html#RefList">click here </A>
In this case, clicking on "click here" will display the phrase that is anchored to "RefList". An anchor is created in http://www.famous.com/famous.html as follows:
<A NAME="RefList">Reference List</A>
Return to CS6204 home page.
Last modified on 14 March 1996..
Send comments to abrams@vt.edu.
[This is http://ei.cs.vt.edu/~jwww/courseNotes/html/HTMLinfo/Basic.html.]