[whatwg] Re: why, e.g., input/@checked="checked" ?

Jukka K. Korpela wrote:
> On Thu, 31 Mar 2005, fantasai wrote:
> 
> 
>>What Jukka's trying to say is, attribute minimalization in SGML -- which
>>lets you do things like
>>   <input type="checkbox" checked>
>>doesn't let you leave out the name of the attribute -- it lets you leave
>>out the *value*.
> 
> Of course, you meant just the opposite: the name can is omitted (in
> "classic" HTML), when the value is one of the declared enumerated values
> of an attribute and no other attribute has such a value that way.

Um, yes. That's what I meant. :)

~fantasai

Received on Thursday, 31 March 2005 11:39:17 UTC