- From: Ed Brandon <ebrandon@cpha.ca>
- Date: Tue, 23 Jan 2018 15:47:29 +0000
- To: "www-validator@w3.org" <www-validator@w3.org>
- CC: Ed Brandon <ebrandon@cpha.ca>
- Message-ID: <94EF59A79E223E419FE0D530EBFCCA8A83E7@CPHASRV8.cpha.ca>
I get this error: there is no attribute X You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead). This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information. How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash<https://validator.w3.org/docs/help.html#faq-flash>. · Line 79<https://validator.w3.org/check#line-79>, column 202: there is no attribute "TARGET" … 2002. Available online at: <a target="_blank" href="http://www.ohrc.on.ca/eng… I have seen this many times. But surely this is incorrect. Maybe the error is in the validator, maybe in a DOM definition. I have no particular example to show you. I’ve been getting this error for many validations. Where I work, the policy is if you link to another site, you must open the page in another window or tab. Hence the <a target="_blank" href="…"> Thanks! - Ed ED BRANDON [logo] <https://www.cpha.ca> Volunteer Volontaire CANADIAN PUBLIC HEALTH ASSOCIATION ASSOCIATION CANADIENNE DE SANTÉ PUBLIQUE 404-1525 Carling Ave. Ottawa ON K1Z 8R9 <http://www.cpha.ca> T: 613-725-3769 x 165 F: 613-725-9826
Received on Tuesday, 23 January 2018 15:47:54 UTC