Articles Tutorials Work at Home Entrepreneurs, Webmasters, Small Business Owners
Articles Tutorials Work at Home Entrepreneurs, Webmasters, Small Business Owners
Articles & Tutorials for Work at Home Entrepreneurs
Webmasters and Small Business Owners
Get More >

Newest Articles 
Search Engine Marketing
Internet Marketing
Affiliate Marketing
Email Marketing
Viral Marketing
Webmaster Resources
Business Resources
Make More Money
CSS
Web Design
Graphic Design
Color Theory
Product Reviews
Time Management
Business Ethics
Promotional Strategies
Glossary of Terms
Direct Mail Marketing
Telemarketing
Product Sourcing



Link to Us!

Web Design
Email this article  :  Printer friendly page

Targeting an Iframe

Iframes are a bit tricky but worth the time to study up on how to use them. One of the most commonly asked questions regarding iframes is how to code the links to open a specific page into the iframe area.

You will notice that within the iframe code of a BasicTemplate index.html page, the iframe has been named, ie ... name="content"

If the design you are using has more than one iframe, each iframe must have a different name.

When you have a hyperlinked page that you want to pull into the iframe, add a target to the hyperlink code, like that shown below:

<a href="about.html" target="content">

The part of the code that makes this happen is target="content". This tells the browser that when a visitor clicks on the hyperlink to pull your about.html page (for example) into the target on the page named "content" which is the name of the iframe.

Related Articles:

Quick & Easy Inline Frames (iFrames)

Copyright © 1994-2006 by BasicTips.com, a division of BasicTemplates.com, CSS HTML Web Site Templates with Exernal CSS and Removable Graphics. If you found our articles helpful, subscribe to our newsletter and get articles like this delivered to your inbox - FREE.

Order soon and get up to 5 FREE domains & more!
Host 6 Domains on 1 Account
5000MB and 400GB for $6.95 a month!

 

Page copy protected against web site content infringement by Copyscape
All articles are originally authored by BasicTemplates.com. Reprints in whole or in part are not permitted. See Copyright Notice

Copyright © 1994-2006 BasicTips.com, a division of BasicTemplates.com, Web Site Templates with External CSS
The Internet's #1 Choice for HTML CSS Web Templates via a Membership. Designed using External CSS and Removable, Swap-Out Graphics.
Basic Web Templates | Website Templates | HTML CSS Templates | Web Design Templates | Web Site Templates