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

Once you begin using seo, how long until you see improvement in your search engine placement?

0 Answers  


What does it mean if nothing appears on doing search on the domain?

1 Answers  


What is press release submission?

0 Answers  


What is hummingbird update?

0 Answers  


What do you think about social media in seo strategy?

0 Answers  






What is keyword frequency?

0 Answers  


Tell me what is rss feed?

0 Answers  


Which Important factors make Off Page Optimization better?

0 Answers  


Tell me what do you mean by backlink?

0 Answers  


The following robots Meta tag directs the search engine bots: <META NAME="robots" CONTENT="noindex,nofollow"> ► a. Not to index the homepage and not to follow the links in the page ► b. Not to index the page and not to follow the links in the page ► c. To index the page and not to follow the links in the page ► d. Not to index the page but to follow the links in the page

1 Answers  


What do you understand by Cloaking?

0 Answers  


Please explain how will you cross-check whether your seo campaign is working or not?

0 Answers  


Categories