W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2011

[whatwg] Empty elements

From: Bronislav Klučka <Bronislav.Klucka@bauglir.com>
Date: Sun, 28 Aug 2011 01:56:15 +0200
Message-ID: <4E59841F.2010003@bauglir.com>
Hi,
HTML5 defines several void elements.
I think this enumeration is insufficient, and I'd like to suggest to 
simply allow every element to have syntax with /> at the end if such 
element has no content.
e.g
<div class="placeholder" />
<script src="lib.js" />


Brona Klucka
Received on Saturday, 27 August 2011 16:56:15 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:35 UTC