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

Tidy does (still) not omit end tag of html element

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

HTML4 allows to omit the end tag of element <HTML> [1]. Tidy does not omit the
end tag when using the -o parameter.

Example:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title></title>
</head>
<body>
<p>text</p>
</body>
</html>

Tidy's output is:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title></title>

<body>
<p>text

</html>

[1] http://www.w3.org/TR/REC-html40/struct/global.html#edef-HTML

regards,

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

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