DG: Stil?

Beitrag lesen

Hallo.

Schon mal von Lintern http://google.de/search?q=code+lint gehört? Ich bevorzuge den Stil, den Tidy+indent mir ausspuckt:

Tue 21.05.02  2:55 c:>tidy -i f.html

Tidy (vers 30th April 2000) Parsing "f.html"

"f.html" appears to be XHTML 1.0 Transitional
no warnings or errors were found

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta name="generator" content="HTML Tidy, see www.w3.org" />
<style type="text/css">
hallo {murks: hastenichgesehn;}
</style>

<title></title>
  </head>

<body>
    <div>
      foobar
    </div>
  </body>
</html>