Learn HTML step-by-step from A to Z or improve your professional skills.  Home HTML and CSS Tutorials Targeting in Frames

Targeting in Frames


target=_self This will load the page in the same frame as the caller.
target=_parent This causes the page to load in the same frameset as the caller taking the place of any sub frames.
target=_top This loads the resulting page into the full body of the current window eliminating any frames.
target=_blank This opens up a new window and loads the page in to it.
target=_new Opens a new window and the page loads in it, all other links using same target open in this window.

Whats this all about?

By assigning a name to a frame via the name attribute, authors can refer to it as the "target" of links defined by other elements.

e.g. If my frame is called "80four", then to get a link to open in that frame the code would read:

<a href="/img_articles/1367/pagename.html" target="80four">link name</a>

Then pagename.html would open in the frame "80four".

Example:

image 1 image 2 image 1
image 2 Links   image 2
image 2 image 2 image 2
image 1 image 2 image 1
image 2 Sample Frame image 2
image 2 image 2 image 2
image 1 image 2 image 1
image 2 Template Monster

Template Tunning

Web Design Library
image 2
image 2 image 2 image 2
image 1 image 2 image 1
image 2 image 2
image 2 image 2 Targeting in Frames


Author's URL: 80four.co.uk
Learn HTML step-by-step from A to Z or improve your professional skills. More Tutorials: Featured Materials | Fresh Materials | More HTML Tutorials at Markuptutorials.com


Like us to: