- From: Jukka K. Korpela <jkorpela@cs.tut.fi>
- Date: Tue, 11 Oct 2011 21:25:20 +0300
- To: www-validator@w3.org
11.10.2011 20:45, David Dorward wrote: > I don't know if this is a bug in the experimental HTML 5 validator or > if I'm missing something in the specification, but should this document > (given the title and alt attributes) validate? > > <!DOCTYPE HTML> > <meta charset=utf-8> > <title>Test</title> > <img title alt src='/'> As far as I can see, it conforms to HTML5 as defined in current drafts, with those attributes defaulted to empty strings, see http://www.whatwg.org/specs/web-apps/current-work/multipage/syntax.html#syntax-attributes It's odd, if you ask me, but the rationale is probably the idea of allowing "boolean" attributes like disabled in a simplistic manner. -- Yucca, http://www.cs.tut.fi/~jkorpela/
Received on Tuesday, 11 October 2011 18:25:51 UTC