<html> <head> | No effect,
needed to start a page |
<title> CSci 1001, Lab2, Intro to HTML </title>
| The title you see at the top of the window |
</head> | Everything created, must also
be destroyed using the command with a / |
<body bgcolor="white"> | This starts the
actual page, and makes the background white |
<center> <h1> Basic HTML </h1> </center>
| The title above the table |
This next commands grabs the image
"bug.gif" from the directory "images". |
<img src="images/bug.gif"> |
 |
Here's a way to create a link to the
netscape page. |
<a href="netscape.html">Netscape link </a> |
Netscape link |
And a way to link to the a site on a
different server. |
<a href="http://www.yahoo.com"> Yahoo </a>
| Yahoo |
A simple table. |
<table border=2><tr>
<th>Name</th><th>Age</th></tr>
<tr><td>Dave</td><td>28</td></tr></table>
|
|
<b>Bold</b> | Bold |
<blink>Blink</blink> | |
<i>Italics</i> | Italics |
<font size="+2" color="blue">Obvious</font> |
Obvious |
<center><a href="moreDos.html"><img
src="images/www.gif"></a><br><font color=purple>
<b><i><blink>Combo</blink></i></b></font>
</center> |
|
</body></html> | Remember to close
everything
|