Sample HTML

HTML (Hyper Text Markup Language) is used for producing World Wide Web pages. A document can be written using any text editor (Word Pad for example). HTML uses markup tags to tell the browser how to display text. Tags are enclosed in: < > Here is an example of a homepage:

Basic Homepage HTML Code

<TITLE>My homepage</TITLE>

<H1>A level 1 heading--often same as title</H1>
Notice the use of a slash (/) before a tag name to end a section of text.

You may type whatever you want here.

To start a new paragraph use<P> This is a new paragraph. A blank line separates paragraphs. To avoid the blank line, use <BR> instead. To display aligned text, use <PRE> A PRE (preformatted) section appears in Netscape exactly as it does on your screen. </PRE>

<H2>This is a level 2 heading, notice it must be closed by a </H2>

Use <IMG src="imagename.gif"> to display an image. The image file must be public read. <p> To get a horizontal ruler (a line across the screen to separate sections), use: <HR> Use <B&gl;bold</B> and <I>italics</I> to change the type style. <p>

Bullet lists are entered:
<UL>

<LI> list item 1</LI>
<LI> list item 2</LI>

</UL>

And end with your address: <address>Your full name / login@cae.wisc.edu</address>