RE: target is invalid attribute for a

Correct!  Thanks Philip.

- Ed


ED BRANDON
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

From: Philip Taylor (RHUoL) [mailto:P.Taylor@Rhul.Ac.Uk]
Sent: January-24-18 8:05 AM
To: David Dorward
Cc: Ed Brandon; www-validator@w3.org
Subject: Re: target is invalid attribute for a


David Dorward wrote:
There is no correct doctype for code snippets. The validity of any bit of HTML depends on what its ancestor elements are.

Nonetheless, the validator does allow one to validate a code fragment against a (very small) number of DOCTYPEs :


( ) Validate HTML fragment

Use Doctype:

(X)HTML 4.01 ( )XHTML 1.0


I think that what Ed is requesting is that the validator be extended in this area to allow additional DOCTYPEs such as HTML 4.01 Transitional (the "HTML 4.01" offered by the validator is actually HTML 4.01 Strict) and HTML 5.

Philip Taylor

Received on Wednesday, 24 January 2018 13:08:20 UTC