Herbie Posted November 22, 2006 Share Posted November 22, 2006 what's the XHTML tag to open a link in a new window? In HTML it was target="name" but target isn't in XHTML. Anyone know how i can accomplish this? Link to comment Share on other sites More sharing options...
jlhaslip Posted November 22, 2006 Share Posted November 22, 2006 Herbie, read the pinned topics. The w3schools Reference and Tutorials should be consulted before posting here.From the Reference @ w3schools for the <a> tag, optional attributes for the <a> tag includes the target. http://www.w3schools.com/tags/tag_a.asp <p>Opening W3Schools a new browser window:<a href="http://www.w3schools.com"target="_blank">W3Schools</a></p> Note that this optional attribute is not available in a strict doctype. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now