- From: Jukka K. Korpela <jkorpela@cs.tut.fi>
- Date: Thu, 30 May 2013 08:34:13 +0300
- To: Pieter de Vries <pieterdevries86@hotmail.com>
- CC: "www-validator@w3.org" <www-validator@w3.org>
2013-05-29 23:50, Pieter de Vries wrote: > I'm validating http://www.graszodengroningen.com and i received the > following error: > > there is no attribute "target" That’s because the page declares the XHTML 1.0 Strict document type, which does not have that attribute- > How can I make sure that the attribute target will be correct?| You could declare the XHTML 1.0 Transitional document type instead: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> This change may affect the browser mode. The details of doctype sniffing are messy; the compilation http://hsivonen.iki.fi/doctype/ is not quite up-to-date (it’s table of browser modes does not cover currently used browsers). So it might be better to just ignore this error message. Or maybe remove the attribute – it is seldom useful to try to force pages to open in a new window or a new tab. Yucca
Received on Thursday, 30 May 2013 05:34:45 UTC