Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

html <a> target attribute


Best Answer azarl , 31 January 2016 - 06:20 AM

_parent and _top are rarely used in modern design as they apply to frames within the page.target="_parent" opens in the previous level up of a frame if they were nested to inside one anothertarget=... Go to the full post »


  • Please log in to reply

#1
Vi-Sion

Vi-Sion

    Member

  • Member
  • PipPip
  • 76 posts
Hello friends i need help understanding the difference between the target values.

Target attribute could take those values _blank
_parent
_self
_top
framename

Well _blank opens the link in a new window
_self opens the link in the same window
framename opens the link in the frame you want

now _parent and _top can anyone show me exemples to understand what they do ?
  • 0

Advertisements


#2
azarl

azarl

    GeekU Admin

  • Administrator
  • 24,937 posts
✓  Best Answer

_parent and _top are rarely used in modern design as they apply to frames within the page.

target="_parent" opens in the previous level up of a frame if they were nested to inside one another

target="_top" This breaks outside of all the frames it is nested in and opens the link as top document in the browser window.

 

See http://stackoverflow...arget-attribute


  • 1

#3
Vi-Sion

Vi-Sion

    Member

  • Topic Starter
  • Member
  • PipPip
  • 76 posts

Much appreciated azarl :D


  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP