Readers: 5 | Updated: 03-18

Notes on Link Attributes

Translate Into:
Copyright © 2008 RT Cunningham. Visit the original article at http://www.untwistedvortex.com/2008/03/08/notes-on-link-attributes/.

Chain Links I've recently come across a lot of different articles and comments (too many to specifically mention) that seem to indicate that certain link attributes shouldn't be used. I've come to a couple of conclusions. A little knowledge about link attributes is dangerous. No knowledge about link attributes is extremely dangerous. Links can be corrected, however, with the right information at your disposal.

References

There are two pages at W3Schools which explain links: HTML Links and HTML <a> tag

There are related pages, but it's not necessary to get into them at this point. View the references, at your leisure, to get a basic grasp on link attributes.

Another reference can be found at Wikipedia: Hyperlink

Ready, Aim, Target!

The target attribute is one of the most misunderstood attributes, in my opinion. Some people say to never use it while others say to use it when targeting frames only. The argument that I've seen used the most is that the target attribute will cause other browser tabs and windows to open, which can then be mistaken for popups. This is only true if the attribute is used incorrectly.

The objective is to keep visitors on your website as long as possible, therefore internal pages should open within the same window. If you link to external pages, you want your page to remain open, therefore the target attribute should be used to open an external page in a new window or tab while your page remains available. If you don't use the target attribute, your visitors may click on the external links and never return.

Most modern browsers let the computer user determine how links are handled, either through the defaults or through add-ons. The problem is that most non-tech savvy people never change the defaults which open all links within the same window.

Are we related?

The "rel" attribute is an underused attribute. It defines the relationship between the current document and the target link. Not only is it underused, it isn't understood by most people. Its purpose is to allow external applications, like search engines, know what kind of link it's being used with.

An annoying relationship attribute introduced in recent years is the "nofollow" attribute. It's new enough that W3Schools doesn't list it as a value. I wonder if any entity besides Google really uses it. If you don't know what it's used for by now, you're probably already in trouble with Google.

Conclusion

A little homework can save you a ton of headaches. There's an old saying that goes something like "don't believe everything you hear". The same applies to what you read. As information becomes more abundant on the worldwide web, so too does the misinformation.

(Image source: BioRUST)



From The Blogs

b5media Science and Health Channel Feed

04-21
8 Diabetic friendly food tips that won’t break the bank [Diabetes Notes]
The past few months have proven to bring the largest price increases in food in recent years and we are all felling the crunch. I know for my family of five we spend approximately $700-$800 a month at... 查看全文

b5media Science and Health Channel Feed

03-27
Top 10 healthiest restaurants in America [Kids Health Notes]
Do you love to dine out but afraid of the moon-size fat-loaded serving platters that you see in many restaurants? Health Magazine’s April issue presents the top ten healthiest chain restaurants around... 查看全文

Zen Habits

03-28
Notes on Life: Mantras, Small Things, Lists, and Such
As I’m cranking out the chapters this week, my post-writing time has been limited. Still, I’m addicted to writing stuff for you guys, so I thought it would be fun to share some random thoughts I’ve be... 查看全文

Goal Setting Tips and Advice

04-10
5 Core Attributes: Achieve Your Goals By David Breslow
For the last 20 years, I've consulted with or coached people in business, sports, the acting profession and the private sector. It is clear that there are 5 core attributes that remain the foundation ... 查看全文

b5media Science and Health Channel Feed

04-14
More students misusing stimulants during stress [Kids Health Notes]
What student hasn’t had trouble keeping awake in class these days? With papers and projects piling up, and exams coming up, more and more students are getting stressed and lacking sleep. Most students... 查看全文

Life, Health, Furnishings

02-15
14 notes about social communication
What kind of social communication art can be best? Now there're several tips about social communication as follows: 1. Get to know the others' merits and demerits. 2. Smile is the best word while talk... 查看全文

Britannica Blog

09-22
Chicago Cubs Clinch and Throw Fan Party at Wrigley: Magic Number=11:Notes From the Friendly Confines
Sorry, readers, but I apologize in advance. For most of the year youve been spared my musings on my favorite obsession, but no longer. Today I was on hand as the Chicago Cubs clinched their second con... 查看全文

b5media Science and Health Channel Feed

04-16
Appreciating the Present [Fertility Notes]
Last week as M and I were enjoying an evening at a friends house (something we dont do often enough), I caught a glimpse of a set of 10 little statements, mantras almost, clipped from a new agey magaz... 查看全文

OnStartups

05-05
Students and Startups: Notes From Talk at MIT Underground 2008
I did the opening presentation at MIT's Underground 2008 event yesterday forstudent entrepreneurs.My hat's off to Albert Park and his colleagues fororganizing a great event.We need more of this kind o... 查看全文

b5media Science and Health Channel Feed

03-30
Helping Friends Deal with Pregnancy Loss [Fertility Notes]
This is the best email you could ever send someone who has recently experienced a miscarriage, pregnancy loss, or simply a rotten test result. This made me laugh, smile, cry, and most importantly, kno... 查看全文
More Articles