linking html to html to iframe
hi to all...
i'm a newbie in HTML stuff and now im building my first website however i have this problem encountered..
does anybody know how to link an html to another html w/ iframe?
well to illustrate i have this "index.html" and i use
<a href="page2.html">go to item2</a>
to go to page2.html.
inside the "page2.html" i have
<iframe ="sampleframe.html" ></iframe>
and inside the "sampleframe.html"
there are three <p> with an id of item1, item2,item3..
what i want is when i click the "go to item2" button from the index.html i would be redirected to the <p id="item2">sample sample </p> in sampleframe.html
i hope you could help me with this problem.. thanks a lot.