What Are The Downsides Of Stripping Out Every Non-printable Space, Tab, And Line Break From An HTML Document, So The Entire Code Essentially Resides On A Single Line I Thought Netscape 4 Had Trouble With Very Long HTML Lines

What Are The Downsides Of Stripping Out Every Non-printable Space, Tab, And Line Break From An HTML Document, So The Entire Code Essentially Resides On A Single Line I Thought Netscape 4 Had Trouble With Very Long HTML Lines


  • 10 Jan, 2012

    I don't advocate making your entire HTML page into one single line. Some editors can choke on long lines, older versions of the Oracle info server can choke on long lines, and if you email your pages (as we do at webref), some email programs can flag a virus in longer lines. So I advocate a max of 255 character lines to be safe, or a max of 2000 character lines to avoid problems with Oracle. Also, removing whitespace can break some JavaScript code, and make your code hard to read. You can avoid these problems by keeping unoptimized versions for any edits, and punctuating your JavaScript statements with semicolons.

    Comments Received:
    Please give your suggestions and feedback:

2009-2016 downloadmela.com. All rights reserved.