W3C home > Mailing lists > Public > www-validator@w3.org > May 2013

Re: Validating issue

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Thu, 30 May 2013 08:34:13 +0300
Message-ID: <51A6E4D5.4000809@cs.tut.fi>
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"

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 

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.

Received on Thursday, 30 May 2013 05:34:45 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 11 February 2020 12:32:13 UTC