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?
Answer / chaitanya
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.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are best ways of getting a real backlinks to your site?
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 keyword research tools available in the market?
How does search engine perform? - SEO
If you only had an hour (in one shot) to spend on WSO [web site optimization] for a given site each year, what would you do for that hour, and why?
What are Webmaster tools?
What is forum posting?
What is the difference between internal & external link?
Tell me what is seo & why is it so important?
Does google use the keyword meta tags?
How you will start keyword research? Which tools would you use for doing it?
What is on-page in seo?