Where do I place _blank in HTML?

  • Thread starter Thread starter freecybermag
  • Start date Start date
F

freecybermag

Hi all

If I place an affiliate HTML code on my web page, can anyone tell me where I can place "_blank" in the html so that it opens in a new window?

Cheers

Chris
 
Just to be pedantic, target is no longer valid in XHTML. It still works, but just something to be aware of.
 
Upvote 0
Thanks for the advice.

Still a lit bit stuck though. Can you show me maybe in red font where to place it in the code below.





Cheers all

Chris
 
Upvote 0
You'd use JavaScript, Eagle. WC3 deprecated the use of target for XHTML, and it caused a rather big worry over how to open pages in new windows. Admittedly, you can turn off JavaScript, so you can't say it's perfect.

What a great page!
 
Upvote 0
depends as I've said compliant at transitional level is ok , at a strict level then see above but like mac says people can turn off java.

*at the risk of starting a whole compliancy argument.

Transitional is good for what your doing cybermag.
 
Upvote 0
It also annoys me cos with _blank I can still open it in a new tab in Safari, but with the XHTML 1.0/1.1 Strict version, regardless of what I try, it opens in a new window. Such is life.
 
Upvote 0
Hey guys

I have it working now.

Cheers to all and Creospace thanks for your prompt reply. I really appreciate it. :D

Chris
 
Upvote 0

Latest Articles