Tidy does (still) not require type attribute for style

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 UTC