Re: [cowan@mercury.ccil.org: Questions about HTML void elements]

On Jan 21, 2011, at 17:01 , John Cowan wrote:
> Anne van Kesteren scripsit:
>> It certainly looks appealing, but you still have to remember all the void 
>> elements anyway otherwise you might inadvertently insert content. And  
>> people will be get confused about what happens to <hr>TEST</hr> and such.
> 
> If you try to put content inside an hr element, you either do not
> understand the hr element or do not understand what content is, so no
> rules simple or complicated will help you.

Well, you could notice that <path d='...'><title>Drawing of a pretty star</title></path> works, so why not expect <hr><title>Separate from the next chapter</title></hr> to work as well?

The simple rules are nice, but we have to acknowledge that they have limits, and remember what created those limits to avoid making even more of a mess going forward.

-- 
Robin Berjon - http://berjon.com/

Received on Saturday, 22 January 2011 14:56:18 UTC