W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2007

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

From: Kristof Zelechovski <giecrilj@stegny.2a.pl>
Date: Wed, 20 Jun 2007 00:38:42 +0200
Message-ID: <001c01c7b2c2$96d353e0$1a01080a@POCZTOWIEC>
A void element cannot have any content because there is no way to specify it
in the source.  Such a relation is called entailment.

-----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

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:56 UTC