Basic HTML Examples
You can use these examples right away. Create a plain text file following the examples. Then open the file from your browser ("Open Local" or "Open File"). Of course, you'll need to have your own graphics and/or sounds. But that's not hard. See the Getting Started page for links to graphics resources. Enjoy!
Basic Elements for All HTML Documents:
<HTML>
<HEAD>
<TITLE>
Insert Your Title Here
</TITLE>
</HEAD>
<BODY>
The substance of the page falls between the <BODY>, and </BODY> tags.
</BODY>
</HTML>
Links:
<A HREF="w3-index.html">W3 Writer Home Page</A>
This is a link to the W3 Writer Home Page, and would appear like this:
W3 Writer Home Page
<A HREF = "http://www.ncsa.uiuc.edu/General/Internet/WWW/HTMLPrimer.html">A Beginner's Guide to HTML</A>
This is a link to A Beginner's Guide to HTML, and would appear like this:
A Beginner's Guide to HTML
<A NAME="TOP"></A>
<A HREF="#TOP">Top Of This Page</A>
This is a link to the top of this page, and would appear like this:
Top of This Page
<A NAME="LINKS"></A>
<A HREF="#LINKS">Links</A>
This is a link to the word "Links" from earlier on this page, and would appear like this:
Links
Images, Sounds:
<IMG SRC="images/w3logo.gif" alt="W3 Writer">
This is a direction to display the W3 Writer Logo gif, and would appear like this:
<A HREF ="sounds/ouwouwuo.wav"><IMG SRC = "images/mus-note.gif"></A>
This is a direction to play the sound "ouwouwou" when "clicking" on the image "mus.notes.gif" and would appear like this:
Getting Started · Basic HTML Examples · Special Characters
HTML Style Sheet · Putting It On The Web · Home
gordon@hake.com
Copyright © 1995-96 Gordon W. Hake. All rights reserved.