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:
Insert Your Title Here
The substance of the page falls between the <BODY>, and </BODY> tags.
<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 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
This is a link to the word "Links" from earlier on this page, and would appear like this:
<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
Copyright © 1995-96 Gordon W. Hake. All rights reserved.