Specifying targets in strict documents
Posted: Sat Mar 12, 2005 11:13 am
This is not directly related to CSE but since CSE alerted me to the problem, and since I have not had any luck so far finding the answer by searching the internet, I thought I'd post my question here in case anyone knows the answer.
Recently I made the decision to write all my new html documents in strict mode. No problems doing so until I added a
target="_blank"
attribute to an anchor element. CSE (and every other validator I've tried) tells me targets are not allowed in strict documents. Ok that's fine, but what is the equivalent way of specifying a target then? It's not a frames site, all I want to do is to open a link to another web site in a new window in strict mode.
If anyone has the answer, I'd appreciate hearing it.
Thanks,
John
Recently I made the decision to write all my new html documents in strict mode. No problems doing so until I added a
target="_blank"
attribute to an anchor element. CSE (and every other validator I've tried) tells me targets are not allowed in strict documents. Ok that's fine, but what is the equivalent way of specifying a target then? It's not a frames site, all I want to do is to open a link to another web site in a new window in strict mode.
If anyone has the answer, I'd appreciate hearing it.
Thanks,
John