I'm currently learning XHTML, what's the easiest way to get a navigation bar to remain on the index page after clicking one of its links? I'm thinking frames but is there an alternative way to achieve a menu that doesn't open its links in the same window (because this means that the menu disappears) In HTML I would use the following (if I wanted the links to open in a iframe): <iframe src="page1.html" id="frame1"></iframe> <p><a href="http://www.w3schools.com" target="frame1">W3Schools.com</a></p> But how can I modify this code so that it works and validates in XHTML? "target" is invalid in XHTML. What can I use instead?