Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 1546 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     Programming     PHP and MySQL :

10 tips to improve your links

Thread title: 10 tips to improve your links
     
    Thread tools Search this thread Display Modes  
Prev Previous Post   Next Post Next
08-05-2006, 10:35 PM
#1
Mickoes is offline Mickoes
Status: Member
Join date: Jan 2006
Location: Quebec / Canada
Expertise:
Software:
 
Posts: 466
iTrader: 0 / 0%
 

Mickoes is on a distinguished road

Send a message via MSN to Mickoes

  Old  10 tips to improve your links

Welcome to this first HTML quicktip, today I'll teach you how to modify your links into your forum/website.

What's a link)
<a href=" LINK.PHP "> TEXT </a>

TIP 1)
To insert a link from another directory - root of your forum in this case - add ../ before link.php ( <a href=" ../LINK.PHP "> TEXT </a>

TIP 2)

To avoid W3C errors add amp; after every & letter. (& should be &amp; )

TIP 3)
Add a button as a link ( <a href=" LINK.PHP "> <img src="BUTTON.gif" alt="description" /> </a>

Note : Don't forget to close the IMG tag and to add the alt attribute in order to comply with the W3C rules (if you use the xHTML doctype)

TIP 4)
Avoid caps letter in attribute and tags. They are considered like errors for the W3C (if you use the xHTML doctype)

TIP 5)

Use the target attribute (on the link tag) to specify how the link will open when clicked ( <a href=" ../LINK.PHP " target="_blank"> TEXT </a> )

To make it strict compliant use this instead :
Code:
<a href='http://www.yoursite.com' onclick="window.open(this.href,'_blank');return false;">
TIP 6)
Add style to that link with CSS ( a:link, a:visited {color:red} a:hover, a:focus {color: #DD0000}

Note : You can shorten the style by removing somme characters ( #ffffff can be #fff, #cccccc can be #ccc etc. )

TIP 7)
Choose good names for your links, that may bring you a few more clicks. Make them bold or underline if the link color is almost the same than the font color.

TIP 8)
Choose them carefully and cleverly, they can improve your Pagerank.

TIP 9)
Avoid to use absolute path instead of the relative path (help/index.php instead of http://yoursite.com/help/index.php )

TIP 10)
Never forget to save your document!

I hope that helped you.

Regards,
Michael (article by me)

---
Thanks to user "arkdm" for his kind comments.

     


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed