HTML Basics

<h1>..</h1> Header 1. h1 is the largest header.

<h2>..</h2> Header 2. h2 is a smaller header.

<b>..</b> Bold. Makes everything between the tags bold faced.

<center>..</center> Center. Centers everything (URLs and images) between the tags.

<pre>..</pre> Preformatted text: formats your text as you type it.

<p> Paragraph. Gives a blank line.

<hr> Hard return. Gives a faint line across the screen.

<br> Break. Used to terminate a line.

URL <a href="URL">Name of URL</A>
Example <a href="http://www.stfx.ca/">StFX Home Page</A>

URL Local <a href="filename.html">Name of File</A>
Example <a href="welcome.html">Home Page</A>

Image <img src="filename.gif"> Gif in home directory.
Example <img src="devil.gif">

Image <img src="images/filename.gif"> Gif in images directory.
Example <img src="images/devil.gif">

Image X <img src="/icons/filename.gif"> Gif in x directory.
Example <img src="/icons/xlogo-medium-t.gif">

Mailto <a href="mailto:x95abc@stfx.ca">x95abc@stfx.ca</a>

Lists                        Numbered List
<ul>                        <ol>
<li>Item 1 <li>First item
<li>Item 2 <li>Second item
</ul> </ol>
Named Lists <a name="top">Top</a> This could be the top of your page.
<a href="#top">Up to top</a> This goes to top.

The Minimum Page
<html>
<head>
<title> In Here Your Title for Your Home Page </title>
</head>
<h1>This is your header which shows at the top of your page</h1>
<body>
In this part, type in your page.
</body>
</html>
130:13  HP 130:13 HP 130 HTML 130 HTML RMK RMK Top Top