W3C home > Mailing lists > Public > www-validator@w3.org > August 2011

Re: Validator parses HTML in CSS block comment?

From: Andreas Prilop <aprilop@freenet.de>
Date: Tue, 16 Aug 2011 20:10:28 +0200 (CEST)
To: www-validator@w3.org
cc: Russell Morrisey <Russell.Morrisey@missionse.com>
Message-ID: <Pine.LNX.4.64.1108162005480.3204@zen.rrzn.uni-hannover.de>
On Mon, 15 Aug 2011, Russell Morrisey wrote:

> Do elements within a <style> tag, inside a /* block comment */,
> need to be HTML entity-escaped?
  ...
> The following HTML snippet reproduces the issue:
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"

You don't use HTML, you use XHTML.
But you do not understand the difference.
 http://www.w3.org/TR/xhtml1/#h-4.8

Stick to HTML 4 as long as you don't understand XHTML.
Received on Tuesday, 16 August 2011 18:11:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:48 GMT