indenting

Hi,
 
I used tidy on some code to see what it does, was pretty sure the code was
ok.
 
The problem is that it removes all my indenting, I thought indenting was ok
with HTML and it makes it a lot clearer to read.
Should tidy be doing this?
 
regards,
 
Niccolo
 
 
Original code start
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
 
<html>
  <head>
    <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
    <meta name="author" content="Your Name">
    <title>html-basic-strict4.01.htm</title>
  </head>
 
  <body>
 
    <p>
      <a href="http://validator.w3.org/check?uri=referer"
<http://validator.w3.org/check?uri=referer> ><img
          src="http://www.w3.org/Icons/valid-html401"
          alt="Valid HTML 4.01 Strict" height="31" width="88"></a>
    </p>
 
  </body>
 
</html>

Original code stop
 
Tidy code start
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta name="generator" content=
"HTML Tidy for Windows (vers 12 April 2005), see www.w3.org">
<meta http-equiv="Content-type" content=
"text/html; charset=us-ascii">
<meta name="author" content="Your Name">
<title>html-basic-strict4.01.htm</title>
</head>
<body>
<p><a href="http://validator.w3.org/check?uri=referer"
<http://validator.w3.org/check?uri=referer> ><img src=
"http://www.w3.org/Icons/valid-html401" alt=
"Valid HTML 4.01 Strict" height="31" width="88"></a></p>
</body>
</html>
Tidy code stop

Received on Friday, 14 October 2005 08:22:47 UTC