HTML 2.0 Example SourceThe source code (or left column) from the HTML Example appears below. You may also want to:
<HTML>
<!-- A comment. -->
<!-- Comments can also span
multiple lines. -->
<HEAD>
<TITLE>I like learning new
things</TITLE>
</HEAD>
<BODY>
<H1>I like learning!</H1><HR>
<h2>With text...</h2>
<h4>...and other things</h4>
I can <em>emphasize</em> things,
and I can make things
<strong>stronger</strong>.<p>
Extra spacing
doesn’t
matter.<p>
An inline image like this <IMG SRC=
"http://wheel.dcn.davis.ca.us/
~csandvig/ip/flower.gif" ALIGN=BOTTOM> can
be inserted wherever I want.<P>
The alignment of the image <IMG
SRC="http://wheel.dcn.davis.ca.us/
~csandvig/ip/flower.gif" ALIGN=TOP>
can be adjusted, too.<P>
<DL>
<DT>Definition lists:
<DD>Can be useful.
</DL>
<OL>
<LI>Ordered lists
<LI>Number things
<LI>As you go, automatically.
</OL>
Sometimes text has to line up.<P>
<PRE>
^ ^
O O
L
\___/
</PRE>
Characters used in HTML code have
to be specially formated, e.g.
quotes ("") and
ampersands (&).<P>
Lists can be "nested" for
greater effect:<P>
<MENU>
<LI>Many Topics Have Subtopics
<UL>
<LI>Like this one
<LI>(it has two)
</UL>
<LI>But Some Topics Stand Alone
</MENU>
In some cases, a line break is
better than a paragraph break:<P>
Mr. U. R. Linebreaker<BR>
1 Main St., Davis, CA 95616<P>
Hypertext links are useful, as
in:<BR>
You can <A HREF="foo.html">return
to the last section you were in</A>
from here.<P>
Local links are useful, too:<BR>
You can <A HREF="#here">go to the
next sentence</A> now.<P>
<A NAME="here">The next
sentence.<P>
Pictures may stand alone:<BR>
<IMG SRC="pic.gif" ALT="(a
plane)"><P>
Or be links:<BR>
<A HREF="foo.html><IMG
SRC="pic.gif" ALT="(a
plane)"></A><P>
Always sign your work!
<hr>
<address>imaip@wheel.dcn.davis.ca.
us</address>
Ima Infoprovider, DCN Member<BR>
Last updated: <EM>5 July 95</EM>
</BODY>
</HTML>
Remember, you can also:
Return to Creating Basic Web Pages |