Re: Void elements in HTML

Anne van Kesteren wrote:
> 
> On Wed, 31 Dec 2008 13:32:41 +0100, Julian Reschke 
> <julian.reschke@gmx.de> wrote:
>> Just allow "<command/>".
> 
> That just becomes a mess (if you mean that <command> should just be an 
> open tag), as <a/>, <script/>, <textarea/> etc. can't be made to work 
> that way, <br></br> parses as <br><br>, etc. Would make things very 
> confusing for authors.

What I meant is:

- no new void elements

- allow empty element notation (thus "<command></command>" and 
"<command/>" are equivalent) for all new and future elements.

This aligns the notation for new elements with XML.

BR, Julian

Received on Wednesday, 31 December 2008 12:49:30 UTC