How to Write HTML in One Easy Lesson

Creating HTML files for your website is pretty easy. For every file you want, give it a name, filename.html. The top level one should be index.html, the others can be anything as long as it ends in ".html" (ending in .htm is okay too. End graphics files in .jpg or .gif).

When this lesson isn't enough for you, go to http://www.ncsa.uiuc.edu/General/Internet/WWW/HTMLPrimer.html

Here's all the html you need to know

Note that all commands (except for <p>) are in the format: <command>text</command>

[start your page with the following]

<html>
<head>
<TITLE>(this is the part that goes at the top of the browser screen)</TITLE>
</head>
<body>

[make a header]

<center><H1>(this is nice big type, centered)</H1></center>

[put in text]

(just type in whatever you like, in regular characters. Be sure to end every paragraph with a <p> so they don't run together)

[add a picture. note that all graphics are something.jpg or something.gif. Replace "filename.jpg" with the obvious]

<img src="filename.jpg">

[make a link to another page]

<a href="filename.html">(this is the text that shows up highlighted so you can click on it to get to the link)</a>

[make a link to a page on somebody else's site]

<a href="http://the.full.address/filename.html">(this is the text that shows up highlighted so you can click on it to get to the link)</a>

[end your page with the following]

</body>
</html>

Cyndi Norman / cyndi@tikvah.com / Last Modified: 4/6/98

 Return to Cyndi Norman's Homepage