Jump to content

how to use iframe for multiple pages ?


jack666sparrow

Recommended Posts

hello i want to use iframe but with 3 hyperlink for example - first page- second page - third page whenever i click on 1,2,3 they will open in one single iframe , not separate iframei do it but it was separate , i try to have only one but i don't know the correct syntax for it

<iframe src="aboutus.html" name="aboususframe"> </iframe> <a href="aboutus.html"><br>Abous Us </a><br><br><br><br><iframe src="Products.html" name="Productsframe"> </iframe> <a href="Products.html"><br>Products </a><a href="Purchase Application"> </a><br><br><br><br><iframe src="PurchaseApp.html" name="purchaseapp"> </iframe> <a href="PurchaseApp.html"><br>Purchase Application Form </a>

Link to comment
Share on other sites

If you want a single frame, links can use the target attribute to open the destination URL inside the frame. <a target="framename" href="page2.html">Link</a> I don't recommend the use of frames. If you have a server-side language available, use it. Frames are outdated and not very user-friendly.

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...