Understanding the Basics

Web Page Construction

Anchors
sample4.html [VIEW]
<B>The Big List</B><P>

Pages so far:<BR>
<A HREF="sample1.html">Sample 1</A>
- Spacing Doesn't Matter<BR>
<A HREF="sample2.html">Sample 2</A>
- Paragraph and Break<BR>
<A HREF="sample3.html">Sample 3</A>
- Formatting<BR>
<A HREF="sample4.html">Sample 4</A> - Links<P>

Some other pages:<BR>
<A HREF="http://www.exnet.iastate.edu/HTML/CLASS/">
SAMPLE PAGE</A> located on the ISUE server.<BR>
<A HREF="http://webcrawler.com/">Webcrawler</A>
- A cool A.O.L. search engine.<BR>

What am I suppose to see?

The tag pairs used to create links are called Anchors (<A> and </A> tags). If you click on any of the text between the <A...> and </A> tags, you activate that link. In the opening tag, we also define a "variable." For an Anchor we define HREF (Hypertext REFerence). This tells the browser where to go when the link is activated.

In our example, we told the browser that when the person clicks on the words Sample 1 go to the page called sample1.html. When they click on Sample 2 go to the page called sample2.html and so on... Furthermore, when they click on the words SAMPLE PAGE go to the page called CLASS located in the directory HTML on the webserver called www.exnet.iastate.edu which is ISUEs home server. Finally, when they click on Webcrawler go to the default page (meaning none specified) from the server webcrawler.com, a search site.

HTML Lessons | Web Basics | Farming the Net


ohioline.gif (3321 bytes)


http://www.ag.ohio-state.edu/~farmnet/
Ohio State University Extension©1999
disclaimer