Tidy HTML source?



Hi.

In the stuff I do almost all the HTML is generated with PHP as basically
none of it is static (lots of tabular data, state-sensitive links, stuff
like that).

Am I crazy to make an extra effort in my code to make the generated HTML
pretty? By this I mean linebreaks, indentation etc. - stuff that is aimed
at readability rather than correctness. This is obviously above and beyond
simply making sure it validates. It's not a huge burden by any means, but
it *is* extra effort.

What do you guys do?

Looking forward to your replies.
.



Relevant Pages

  • Re: [PHP] Tidy HTML source?
    ... Am I crazy to make an extra effort in my code to make the generated HTML ... at readability rather than correctness. ... most of the pretty html stuff is covered by css -- but that too is generated by php. ...
    (php.general)
  • ANC: tmlrss.tcl - process RSS newsfeeds for tclhttpd
    ... podcast) newsfeeds into simple 4.01 HTML tables. ... custom directory and call it from your template files. ... It does extra effort to ...
    (comp.lang.tcl)
  • Re: Help with styles and hot links
    ... Stop wanting that. ... It changes the font to Arial and sizes it correctly. ... fundamentally wrong _if_ you had tabular data with so many columns that it ... Well, you're wrong, and your question seems to revolve around CSS, not HTML, ...
    (comp.infosystems.www.authoring.html)
  • XSL/XML Select and Option HTML tags
    ... I'm trying to render tabular data in an HTML document using XSL to ... All the droplists have the same option entries that a user can choose ... Is there anyway to reuse a single "master" branch in the XML document ...
    (microsoft.public.dotnet.xml)
  • Re: [PHP] Tidy HTML source?
    ... none of it is static (lots of tabular data, state-sensitive links, ... If you are laying out your PHP and HTML correctly, ... And not being able to read your own HTML source will bite you in the ...
    (php.general)