- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Wed, 18 Jan 2012 11:44:24 -0800
On Wed, Jan 18, 2012 at 11:37 AM, Mani <manips2002 at gmail.com> wrote: > I was trying to look at the specification about the meter element. I > do not see where in the spec it says that a <meter> element MUST have > a close tag </meter> > http://www.w3.org/TR/html5/the-button-element.html#the-meter-element > > However, I found a reference to such a requirement on other sites: > https://developer.mozilla.org/en/HTML/Element/meter All elements require a close tag, unless they are a void element (see <http://www.whatwg.org/specs/web-apps/current-work/multipage/syntax.html#elements-0> for the list of void elements). Some elements inherited from HTML4 can have their end-tags automatically inserted, but <meter>, being a new HTML5 element, does not have that. ~TJ
Received on Wednesday, 18 January 2012 11:44:24 UTC