the TARGET attribute can be your friend

by Paul Brown on 3 October 2002

sometimes people include links in their journal entries that lead to interesting and fun places. sometimes they lead to hell, which i suppose for some can be interesting and fun, but mostly not.

anyway, i personally like the idea of opening a new window when linking. yes, i know, many people do not, but if you want to be able to keep reading livejournal while visiting these other places, then the TARGET attribute is your friend.

for example, My Home Page (<a href="http://www.paulbrown.net/">) will go to my home page without changing the browser. this is the default behavoir. if you want to open a new window, just insert a target="_new" after the href attribute and the browser will open a new window.

BearFinder.com this link will open a new window.
<a href="http://www.bearfinder.com/" target="_new">

Comments on this entry are closed.

Previous post:

Next post: