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

fantasai fantasai.lists at inkedblade.net
Thu Mar 31 11:39:17 PST 2005


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



More information about the whatwg mailing list