A Simple HTML Document
Contents
- First Home Page
- View with a WWW Browser
- Viewing Source Code
- HTML
Below is the first draft of a personal home page.
- HTML Code
<HTML>
<!-- Home Page of Mr. X., March 1996 -->
<HEAD>
<TITLE>
Mr. X</TITLE>
</HEAD>
<BODY>
<H1>
Mr. X</H1>
<PRE>
Address Universiteit of Amsterdam
FNWI
Plantage Muidergracht 24
1018 TV Amsterdam
Office Euclides, x.yy
Telephone +31 20 525xxxx
Telefax +31 20 525xxxx
E-mail X@science.uva.nl
</PRE>
</BODY>
</HTML>
- View with a WWW browser
- HTML documents can be created by ordinary text editors,
but appear only nicely formatted when viewed by WWW
browsers such as Netscape
Navigator or Internet
Explorer.. See x.html for a
separate view on the above HTML code. The main part looks
as follows
Mr. X
Address Universiteit of Amsterdam
FNWI
Plantage Muidergracht 24
1018 TV Amsterdam
Office Euclides, x.yy
Telephone +31 20 525xxxx
Telefax +31 20 525xxxx
E-mail X@science.uva.nl
- Viewing Source Code
- We shall assume that you use Netscape as WWW browser. The
source code of HTML documents that you find on WWW
servers can be looked at by selecting the View/Source
menu item. The easiest and fastest way of learning to
write HTML code is probably looking at and mimicking
examples of HTML documents of your colleages.
- HTML
- stands for Hyper Text Markup
Language. It is the language used to
prepare WWW hypertext documents. HTML contains
- ordinary text
- elements of the document, like headings,
paragraphs, lists, images, hypertext links, and
so on. These elements are markede by tags.
For example,
<H1>
and </H1>
mark a heading of largest size.
Back to HTML Course Contents