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
Specifying targets in strict documents
-
- Rank III - Intermediate
- Posts: 54
- Joined: Sat Dec 11, 2004 2:17 pm
-
- Rank III - Intermediate
- Posts: 54
- Joined: Sat Dec 11, 2004 2:17 pm
Never mind, I finally found the answer here:
http://www.sitepoint.com/article/standa ... iant-world
John
http://www.sitepoint.com/article/standa ... iant-world
John
-
- Rank 0 - Newcomer
- Posts: 6
- Joined: Thu Jan 15, 2009 7:52 pm
- Location: East Moline, Illinois
-
- Rank V - Professional
- Posts: 297
- Joined: Fri Jul 29, 2005 5:55 pm
- Location: CO
Re: Specifying targets in strict documents
Yes, but do you have an other solution to the original 2005 post?Dwight_Stegall wrote:To me that whole article is...
John Zeman wrote: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.
Lou
Say what you will about Sisyphus. He always has work.
Say what you will about Sisyphus. He always has work.
-
- Rank VI - Professional
- Posts: 726
- Joined: Mon Dec 13, 2004 1:50 pm
- Location: Tannhauser Gate
-
- Rank V - Professional
- Posts: 297
- Joined: Fri Jul 29, 2005 5:55 pm
- Location: CO