W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 1999

Tidy does (still) not require type attribute for style

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Tue, 19 Oct 1999 21:52:57 +0200
Message-ID: <018b01bf1a6b$b3bcf030$0184fcc3@de>
To: <html-tidy@w3.org>
Hi,

HTML4 requires a type attribute for the <STYLE> element, but tidy does not
complain it absence.

Example:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title></title>
<style>
  P { }
</style>
</head>
<body>
<p class=something>text</p>
</body>
</html>


Warnings:
"stdin" appears to be HTML 4.0
no warnings or errors were found

regards,

  Björn Höhrmann
Received on Tuesday, 19 October 1999 15:55:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:42 GMT