- From: David Dorward <david@dorward.me.uk>
- Date: Mon, 1 Feb 2010 07:55:32 +0000
- To: "Briere, William J" <wjbriere@seattleschools.org>
- Cc: <www-validator@w3.org>
Received on Monday, 1 February 2010 07:57:00 UTC
On 29 Jan 2010, at 00:02, Briere, William J wrote: > If you enter html via direct input it states that a self closing div is valid, but it shouldn’t be. > I've just tested it. It reports it as invalid. In XHTML, it reports it as valid, but that is correct (it isn't HTML compatible, but that isn't a matter of validity). > Check out the w3c reference here.http://www.w3schools.com/tags/ref_byfunc.asp > Note that W3Schools is not affiliated with the W3C ... and is generally of low quality. However I can not see any claim on that page that self-closing tag syntax is forbidden for div elements. -- David Dorward http://dorward.me.uk
Received on Monday, 1 February 2010 07:57:00 UTC