Where the code for " target frame " should be , in frames tag ?

P

pradnya

Where the code for " target frame " should be , in frames tag ?
i.e. whether it should be in main html file , or a file that is loaded
in one of the frames ?
 
K

Kim André Akerø

pradnya said:
Where the code for " target frame " should be , in frames tag ?
i.e. whether it should be in main html file , or a file that is loaded
in one of the frames ?

I'm assuming you mean how to link to a specific frame...

In the frame setup:

<frame name="thisismytarget" ...>

In the link tag (from another frame):

<a target="thisismytarget" href="otherpage.html" ...>

However, I recommend you avoid using frames whenever possible.
http://www.html-faq.com/htmlframes/?framesareevil
 
R

richard

Where the code for " target frame " should be , in frames tag ?
i.e. whether it should be in main html file , or a file that is loaded
in one of the frames ?

If you give no other directory source in the code, then the file should be
in the same directory. It can be either as needed.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,811
Latest member
SaulFernan

Latest Threads

Top