Re: target is invalid attribute for a

On 24 Jan 2018, at 11:59, Ed Brandon wrote:

> The problem stems from the W3C 
> validator<https://validator.w3.org/#validate_by_input+with_options> 
> itself.  It does not let me choose the correct doctype for code 
> snippets:

There is no correct doctype for code snippets. The validity of any bit 
of HTML depends on what its ancestor elements are. You need to validate 
whole documents.

Received on Wednesday, 24 January 2018 12:22:29 UTC