Forum Moderators: mack

Message Too Old, No Replies

linking to other sites

         

petr

8:57 am on Feb 26, 2005 (gmt 0)

10+ Year Member



I heard that you can put additional information into your links like:
<a href="some site hre" title="title of that site" name="this is my new site">go to my site</a>
Do these things really work? Will they help me with my search engine ranking?

cmatcme

1:32 pm on Feb 26, 2005 (gmt 0)

10+ Year Member



Yes petr they do work and are very useful to know.

Here are some things you can do with them

*************

To link the another website:

<a href="http://example.com" name="Example" title="Example">

**************

To link to another webpage on your website:

<a href="example.html">

Takes you to example.html in the same directory that you are in.

<a href="/example/example.html">

The / after your first speech mark takes you to your first directory. It then says to take you example.html which is in directory example!

***************

OK this looks a bit tricky but it's effective:

<a href="example.html" onMouseOver="window.status='Mouse Over'; return true" onMouseOut="window.status='MouseOut';">

What it does is when you place your mouse over the link, the status bar - the bar which usually says Done when a page loads - displays Mouse Over and as it suggests when you place your mouse out, the status bar displays MouseOut.

****************

Other cool things to do with anchor tags:

<a onMouseOver="window.location='jk.html';">

Takes you to jk.html when you place your mouse over the link

<a onMouseOver="window.alert('Lok')">

Displays an alert window when you place your mouse over the link.

*****************

Other onMouse functions

onMouseWheel - Some mice have wheels, when that is rolled the function takes place.

onMouseClick - When the mouse is clicked on the link

onMouseDown - When the mouse is pushed down not clicked

EXAMPLE:

<a onMouseWheel="window.alert('Luck')">Lucky</a>

Displays an alert with Luck in it when the mouse wheel is rolled over link Lucky

**************

Other pointers:

Close off all anchor (a) tags with "</a>"
I don't know the answer to your page rank question
Href stands for hyperlink reference.
The onMouse functions will only work if the user has javascript.

***************

Just trying to help

/ CMATCME