target top vs blank?

Discussion in 'HTML & Website Design' started by mahmood, Nov 3, 2007.

  1. #1
    What is the difference between target="top" and target="blank"?

    To me they work exactly the same but there must be a difference.
     
    mahmood, Nov 3, 2007 IP
  2. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #2
    There is no difference as you are calling them both as named frames - if you have frames with these names then the link will be opened in it otherwise it will open in a new window.

    _Top (note the _ before it) means that the link opens in the same window and replaces the whole frameset

    _Blank (again the _) opens in a new window/ tab
     
    AstarothSolutions, Nov 5, 2007 IP