W3C home > Mailing lists > Public > www-validator@w3.org > May 2009

Re: [VE][70] tag <br> should not request an end tag

From: Michael A. Peters <mpeters@mac.com>
Date: Mon, 25 May 2009 04:33:19 -0700
To: "Kratzer, Willi" <willi.kratzer@ts.fujitsu.com>
Cc: "www-validator@w3.org" <www-validator@w3.org>
Message-id: <4A1A81FF.60402@mac.com>
Kratzer, Willi wrote:
> Validating 
> http://www.spec.org/cpu2006/flags/Intel-ic11.0-int-linux64-revA.20090331.01..html 
> <http://www.spec.org/cpu2006/flags/Intel-ic11.0-int-linux64-revA.20090331.01.html>
> Error [70]: "end tag for X omitted, but OMITTAG NO was specified"
> The validator requests an end tag for <br>.
> <br> means “break” or newline. It does not make any sense to specify 
> “end of newline”. So it is natural to have <br> with no corresponding 
> end tag.
> A tag <br> without an end tag is not an error and should not be handled 
> as an error.
> In my opinion, this is a bug in the validator.

The document you linked to is xhtml, which is a subset of xml.

All xml tags must be closed regardless of their function.
In the case of the br tag, since it never has children that is 
accomplished by using a self closing tag - <br />
Received on Monday, 25 May 2009 11:34:48 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:58 UTC