| <html> <head> <title></title> </head> <body bgcolor="" text="" link="" alink="" vlink=""> </body> </html> |
| <a href=""> </a> | makes things clickable |
| <img src="picture.gif"> | display gif image |
| <img src="picture.jpg"> | display jpeg image |
| <img src="pic.gif" width="50" height="50"> | resize image |
| <img src="pic.gif" alt="Hello!"> | When you mouseover the image, words appear! |
| <a href="index.html">HOME</a> | Clicking the word HOME opens up a page called "index.html" |
|
<a href="http://www.yahoo.com" target="new"> |
Clicking the IMAGE opens a WEBSITE in a new window. Don't forget the "http://" for websites |
| <a href="http://www.yahoo.com" target="new"> <img src="pic.gif" border="0"></a> |
Like the previous but removes the hyperlink border around the image |
| <a href="bigpic.gif" target="new"> <img src="smpic.gif"></a> |
Loads a picture called bigpic.gif. Great for thumbnails (i.e. clicking on a small picture to load a larger one) |
| <a href="sound.wav"><img src="pic.gif"></a> | Plays a sound called sound.wav when you click on the image. |
| <a href="#top">back to top</a>
<a name="top"> anchor </a> |
Causes a scroll effect on a longer page to the place where the "anchor" <a name="common"> .. </a> is. The "#" must be added to the link code only. |
| <a href="mailto:you@something.com">email me</a> | Starts the computers' mail program and opens an email to be sent to you@something.com(will work on your home computer, but NOT at school) |
| The Effects | The HTML "sandwich" codes |
| BOLD | <b> </b> |
| ITALICS | <i> </i> |
| BOLD and ITALICS | <b><i> </i></b> |
|
<blockquote> </blockquote> |
|
<ul> <li>item </li> <li>item</li> </ul> |
|
<ol> <li>item 1</li> <li>item 2</li> </ol> |
| Font Size 1 | <font size="1">
</font> available sizes: 1 thru 7 , +1 thru +7, -1 thru -7 |
|
CENTERED |
<center> </center> |
|
ALIGNED RIGHT |
<p align=right> </p> |
| H2O | <sub> </sub> |
| E=mc2 | <sup> </sup> |
| <marquee> </marquee> | |
| COLORED TEXT | <font color="red"> </font> |
| <marquee> <font color="teal" size="6" face="Verdana"> <b><i> words </i></b> </font> </marquee> |
|
| Special Characters and Non-sandwich tags | |
| more space between words | |
|
|
<hr align="center" width="75%" size="5"> |
| < , > , ¢ , © , ® , , | < > ¢ © ® “ ” |
| words directly below words |
<br> |
| This table is 2 columns by 3 rows | This is Column 2 Row 1 |
| This is Column 1 Row 2 | This is Column 2 Row 2 |
| This is Column 1 Row 3 |
The code to make the TABLE above is:
|
<table border="1"> |
For every <tr>.....</tr> a new row is started.
For every <td>...</td> a cell is added to that row.
Images or text can be coded between every <td> and </td>.
|