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

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 2
image 4 Links   image 5
image 6 image 7 image 8
image 10
image 12 Sample Frame image 13
image 14 image 15 image 16
image 18
image 20 Template Monster

Template Tunning

Web Design Library
image 21
image 22 image 23 image 24
image 26
image 28 image 29
image 30 image 31 image 32


Author's URL: 80four.co.uk
Thank you for voting.
Rate this Materials:
Bad 
1 2 3 4 5 Excellent
print this page subscribe to newsletter subscribe to rss

HTML is Hyper Text Markup Language that is used to make hypermedia and hypertext documents for the Web. More HTML and CSS: Most Popular Materials | Fresh Materials | More HTML Tutorials at Markuptutorials.com

Add comments to "Targeting in Frames"

Only registered users can write comment

No comments yet...