The Rhyme of Sim'

Simon Hampel

  • facebook
  • twitter
  • linkedin
  • vimeo
  • github
  • stackoverflow
  • steam
  • Home
  • About
  • Trip Journals
    • Colombia 2012
    • Little Desert NP Road Trip 2010
    • Adelaide Road Trip 2009
    • Colombia 2009
    • Melbourne 2008
    • South America 2008
    • United States 2005
    • Perth 2004
    • Adelaide Road Trip 2003
    • Hong Kong 2003
  • Archives
  • Contact
  • The Rhyme of Sim'
You are here: Home / Online / To _blank or not to _blank

To _blank or not to _blank

Thursday 30th October, 2003 4 Comments

Should one use the TARGET=”_blank” property on HREF tags in HTML to launch a new browser window when a user clicks on a link on your web page, or is this really bad form ?

Normal links on a web page using the HREF tag will cause the new page to be opened in the same browser window you have been using. If you want to return to the previous page, you would need to use the back button or history.

There is a school of thought which suggests that you should use the TARGET=”_blank” property to force a new browser window to open when you link to an external site – that is, not just another page on your own website (links to other parts of your own website would open in the same browser window).

I have generally made it a habit to open new browser windows for external links from my sites. I want my site to remain open in the original window while they go and visit the external site I linked to, then when they close that window mine will still be there.

There is another school of thought which suggests that such behaviour is evil and must be destroyed. The argument is that you are taking choice away from users. If a use wants to open that link in a new window, they have the choice to use the shift-key when left clicking on the link to force it into the new window, or other modifiers such as holding ctrl while left clicking or middle mouse click to open in a new tab when using a tabbed browser such as Opera or Mozilla. Otherwise, if they simply click on the link, the web page will load in your same browser window as you would expect.

Since I have started using Mozilla Firebird as my web browser, I have fallen in love with tabbed browsing. I tend to open lots of browser windows when browsing, so a tabbed interface offers a great way to manage all of those windows.

So, I understand the argument that by forcing a new browser window on users is taking their choice away – I often don’t want a new window to be launched – I want a new tab, and so I will use the ctrl key or middle mouse click to do so. I am in control this way, I get to choose where the page opens, and if I choose to have the page open in the current window, then that’s what it should do.

So I think I will need to change the way I have designed my sites – I will begin to adopt the no _blank targets stance. I love a good religious war – and I am a convert ! _blank is evil to me now, and I will do my best to share the truth with the unbelievers and lead them into the light. I will let the users choose how they want to navigate my site. I will not force my ideals onto them. :D

« Prev: FeedDemon
Next: Nobody Loves Me »

Filed Under: Online

Comments

  1. Jim says

    Wednesday 17th March, 2004 at 12:39 PM

    Hehehe I’m late I know…. but here’s a trick.. if a site is known to use blank… just drag and drop the url to your address bar or title bar… IE will open it in the current window :)

    Reply
  2. jas says

    Wednesday 5th November, 2003 at 08:31 PM

    The thing is “blank” is shorter than writing code to deal with the same thing.

    HTML is a forgiving language.

    Jas

    Reply
  3. paulzag says

    Tuesday 4th November, 2003 at 08:59 PM

    Yep Sim’ I’ve been considering it for a while and you have tipped the scale in favour of wholesome and good-living design. target=”_blank” is the devil’s way now.

    Now I have to find time to change the setting at wealthesteeem.org

    Reply
  4. Chris says

    Saturday 1st November, 2003 at 01:13 AM

    Way to go. The target=”_blank” thing infuriates me. It’s refreshing to see parts of the web become less annoying this day and age.

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Simon Hampel

Welcome to my personal blog about life, family, work, travel, technology and such.

Recent Comments

  • Rachel on The Sims 2 resolution problems – solved !Yes to this! Thanks for the advice! 2021 and I was…
  • Shaun Hargans on EchosA standard glass beer Stubby (375 ml) has a neck d…
  • Bryanna on The Sims 2 resolution problems – solved !How does one run a notepad in administrator mode?
  • Dirk Collins on Day 19 – NavimagAdditional photos of the Casma https://web.archive…
  • Dirk Collins on Day 19 – NavimagNot the Cotopaxi. The Cotopaxi was found sunk outs…

Categories

Adelaide Roadtrip 2003 Adelaide Roadtrip 2009 Adoption Colombia 2009 Colombia 2012 Community Entertainment General Hong Kong 2003 Investing Melbourne 2008 Online Photography Software South America 2008 Sydney Technology Travel University Words Work Zoos
Tweets by @SimonHampel

Strava

My Other Sites

  • PropertyChat
  • InvestEd
  • Somersoft
  • Compare Funds
  • ZooChat

Useful Information

  • AUS vs US Mens Shirt Sizes
  • Star Wars Masters & Apprentices
  • Roland GAIA SH-01 Resources
  • Roland U-20 Resources

Copyright © 2025 Simon Hampel ยท Log in