What html code can I use to make a link open in a separate window on my website?

I would like to know where I can insert the html (before or after the link html). Also, is it the same html for graphics links as it is for text links? Note - the links are already clickable - I just need them to open in a separate page. Also - what is an anchor tag?

Public Comments

  1. <a>
  2. <a href="www.link.com" target="_blank">Click Here</a> (to open link in blank window every time. OR <a href="www.link.com" target="new">Click Here</a> to open link in a new window only once. If it is clicked again from original page, it will not continue to open, but it will refresh the next page in the browser. =) ADDITIONAL DETAILS: I'm sorry, I didn't see the graphics part, here's the code: <a href="www.link.com" target="_blank"> <img src="www.website.com/img.jpg"> </a> (Never forget the </a> which is the closing tag for this html code)
  3. Graphics links and text links can be included in the same manner using HTML code.
  4. in the anchor tag target="new" or target="blank" would do this
Powered by Yahoo! Answers