button
Google Custom Search

Creating links

Hyper-links are how we are connected to one another on the Internet. We use links to navigate our own web pages and to other websites across the WWW. Creating a link is simple, it will only take a few minutes for you to learn how to create a link.

Creating internal links

As you add pages to your web site you will need to create a link to each of the pages. This is called an internal link. The syntax for an internal link is <a href="/the page.html"> . An internal link to your index page of your web site would be
<a href="/index.html">Home</a> .
The a in the link is called the anchor tag, I don't know why, it just is. The href is also a mystery but you gotta have it.

Creating external link

The external link must have the http:// in the link. An external link to pro-dezign would be
<a href="http://www.pro-dezign.com/"> something, something</a> . Now how hard is that.

The target attribute

The target attribute can be used to open the link in a new window. The syntax to open the link in a new window is <a href="http://www.the page" target="_blank"> </a>

linking to parts of the same page

If you have a really long page, you might want to link, to different sections of the page. To do that, you use the name attribute. Place this  <a name="top"></a> right after the <body> tag in your page.

Next, place this <a href="#top">top</a> at the bottom of you page.
Scroll down and click on "top" to see what happens.

I have never used this tag because I don't think its a good idea to write long pages. If you have a lot to say just use more pages.

To use an image as a link you first have to know how to display an image on your web page.

go to the next terrific page To add a list to your web page

Welcome to Pro-dezign Web Essentials, your IP address is: 38.103.63.60 and you came from: Page was directly requested

 

xhtml 1.0 strict

top