<!-- a comment --> <!-- another useless description -->
![]()
<HTML> <!-- possibly a head part --> <!-- possibly a body part --> </HTML>
![]()
<HEAD> <!-- head tags --> </HEAD>
![]()
<BODY> <!-- body tags --> </BODY>
![]()
<HEAD> element.
Head tags are not shown as part of the main document, but may
be visible outside it, as part of an information display about
the current document.
<H1> element.
<TITLE> A List of HTML Tags. </TITLE>
![]()
<A> does for
particular parts of the document.
Unlike the anchor, a link does not do anything, it merely describes. Hence it is not used very often.
<LINK HREF="/mogens/tutorials.html" REL="parent">
![]()
<H1> Header 1 </H1> <H2> Header 2 </H2> <H3> Header 3 </H3> <H4> Header 4 </H4> <H5> Header 5 </H5> <H6> Header 6 </H6>
![]()
renders as:<P>Bla bla bla. Blabla blabla bla blala bla bla. Blabla blabla bla bla. <P> Blala bla. Blabla blabla bla blaba bla bla. Bla blabla bla bla. <BR> Blilly blilly bla bla bla. Blabla blabla bla bla. <HR> Lallyla layllaylay layla layla lally lally.
![]()
Bla bla bla. Blabla blabla bla blala bla bla. Blabla blabla bla bla.
Flala fla. flafla flafla fla flafa fla fla. fla
flafla fla fla.
Blilly blilly bla bla bla. Blabla
blabla bla bla.
<UL> <LI> apples <LI> bananas </UL>
![]()
<OL> <LI> oranges <LI> peaches <LI> grapes </OL>
![]()
<DL> <DT> THHGTGG <DD> "The Hitchhiker's Guide to the Galaxy" was originally a BBC radio series which .... <DT> Netrek <DD> Netrek is a networked multiuser game. It is not a simple shoot-em-up game, but .... </DL>
![]()
<PRE> ##### ###### # # ##### # # # # # # ##### ## # # # ## # # # # # # # ###### # # # </PRE>
![]()
##### ###### # # #####
# # # # #
# ##### ## #
# # ## #
# # # # #
# ###### # # #
Here is a quote from P. Erdos: <BLOCKQUOTE> "A mathematician is a device for turning coffee into theorems." </BLOCKQUOTE>
![]()
"A mathematician is a device for turning coffee into theorems."
<ADDRESS> Maintained by mogensen@cs.stanford.edu </ADDRESS>
![]()
Source Code: <CODE>Source Code</CODE>
< to generate a <
> to generate a >
& to generate a &
" to generate a "
Alignments may be TOP, MIDDLE or BOTTOM.
foo <IMG SRC="/gifs/simp.baby.gif" ALT="[]" ALIGN=TOP> bar baz <IMG SRC="/gifs/simp.lisa.gif" ALT="[Lisa]" ALIGN=MIDDLE> qux fog <IMG SRC="/gifs/simp.bart.gif" ALT="[Bart]" ALIGN=BOTTOM> fig
![]()
bar
baz
qux
fog
fig
NAME : name a part of a document.
HREF : make a link to another documents
HREF : mark a link to other parts of the same document.
REV : mark a reverse link. (seldom used)
REL : name the relationship between this document and
the target of the link. (rarely used)
<A HREF="url" NAME="name" REV="url" REL="relation">...</A>
Note that anchor tags cannot be nested. Hence
<A HREF="foo">a link
<A NAME="bar">named bar</A>
</A>
is a no-no. Do not place anchors inside one another.
This is a <A NAME="here">target</A> in this document.
![]()
other.html
/mogens/intro/other.html
http://www-pcd.stanford.edu/mogens/intro/other.html.
Note that a URL may be suffixed with a named anchor. The named
anchor is indicated using a #name. To refer to the
full name of the previous section, we would use:
http://www-pcd.stanford.edu/mogens/intro/other.html#here.
This is a <A HREF="other.html">link</A> to another document.
![]()
This is a <A HREF="#here">link</A> to the target in this document.
![]()