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 ..

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

Post New Answer

More Search Engine Optimization SEO Interview Questions

Does precompilation of loop limits in Web programming languages like ColdFusion, Java, and JavaScript help?

1 Answers  


Why should I care about search engine marketing?

0 Answers  


What are crawl stats?

0 Answers  


Can search engine index the flash websites?

0 Answers  


What is the most likely time period required for getting a Google page rank? ► A. 1 week ► B. 3 weeks ► C. 2 months ► D More than 3 months

1 Answers  






After implementing distinct seo methods for a site, if you haven’t got any improvements. What would be your next step?

0 Answers  


What is google fetch?

0 Answers  


What is the procedure to display the information of search engine?

0 Answers  


What are the benefits of search engine submissions?

0 Answers  


Explain some major commonly used search engines?

0 Answers  


What is the use of using keyword prominence?

0 Answers  


What is link building?

0 Answers  


Categories