View Single Post
  #33  
Old 10-27-2008, 06:41 AM
Vodstok's Avatar
Vodstok Vodstok is offline
Fear scented candle
 
Join Date: Jan 2004
Location: The edge of forever
Posts: 13,650
<tableborder="1">
<tr>
<td>Table Row 1 Table Cell 1
</td>
<td>Table Row 1 Table Cell 2
</td>
</tr>
<tr>
<td>Table Row 2 Table Cell 1
</td>
<td>Table Row 2 Table Cell 2
</td>
</tr>
<tr>
<td>Table Row 3 Table Cell 1
</td>
<td>Table Row 3 Table Cell 2
</td>
</tr>
</table>

<div>Div Tag</div>
</body>
</html>


The output of this page is hideous, but it gives you an idea of how these things work.

First is the anchor tag, which looks like this:
<ahref="Http://google.com">Anchor Tag</a>

This is a link in its simplest form. Notice for the first time we don’t just have an opening and closing tag, the anchor has href=Http://google.com. This is called an Attribute, and they become very important, very quickly, especially once we step into CSS. In this case, the href attribute tells the browser where to go when the text contained in the tag is clicked. Notice if you cut and paste this page into an HTML file and open it in the browser, all you see id the words Anchor Tag in blue (if you have most browser’s default settings in place). If you click it, you are magically whisked away to google. The is WAY more to anchor tags, but we have to start small.

Notice right after the anchor is this:
<br/>
Reply With Quote