[whatwg] void elements vs. content model = "empty"

A void element cannot have any content because there is no way to specify it
in the source.  Such a relation is called entailment.
Chris

-----Original Message-----
From: whatwg-bounces@lists.whatwg.org
[mailto:whatwg-bounces at lists.whatwg.org] On Behalf Of Ian Hickson
Sent: Wednesday, June 20, 2007 12:29 AM
To: ryan
Cc: whatwg-whatwg.org at lists.whatwg.org
Subject: Re: [whatwg] void elements vs. content model = "empty"

On Wed, 18 Apr 2007, ryan wrote:
>
> Also, if there's a difference between content=empty and 'void elements' 
> it deserves an explanation.

One is just about the content model, the other is just about the syntax. 
They're not really related, though it happens to be the case that all 
elements that have an empty content model are void elements in HTML.

Received on Tuesday, 19 June 2007 15:38:42 UTC