Author:
Lon W. McDaniel
Internet 4 U

HTML


Contents

HTML


Create a hypertext link to the Stockholm Daily Dagens Nyheter

The link you are going to establish must be placed between two BODY-tags. If you want to have several links it might be a good idea for you to have an empty line between your links. You can put in an empty line by putting a <P> at the end of each link. That creates an empty line after the link.

The HTML code for a link to the Stockholm Daily newspaper Dagens Nyheter looks like this:

<A HREF="http://www.dn.se">Dagens Nyheter</A>

It would look a lot better if you could put in an illustration too. And you can easily do so.

Start by creating a sub-directory for your pictures and illustrations. It is important that you place these in a sub-directory to the directory where your web page (.htm) is located.

Ltsīs say that you save your graphics in c:/HTML/image, and your web page is located in c:/HTML.

Your illustration (which you took from Dagens Nyheter while visiting there last night!) is called dn.gif. You put it in c:/HTML/image.

Now in order for your illustration to get into the Web page you have to add:

<IMG SRC="image/dn.gif">

and then an empty line:

<P>.

The finished HTML-link ought to look like this now:

<A HREF="http://www.dn.se">Dagens Nyheter</A><IMG SRC="image/dn.gif"><P>


In a web browser you would see this:

Dagens Nyheter


If you want to see something real funny, take a look at the document source to this page!


next page

Copywrite © Lon W. McDaniel 1996