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 Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How would you optimize your content for google's rich answer box?

460


What is cohort type?

111


What are the social media platform used for SEO ?

455


What do you understand by crawling?

423


What information does search engine visibility offer that is not currently available?

473






What are doorway pages, and should I use doorway pages?

468


What is an Alexa Rank in SEO?

418


Tell us what is crawling?

428


Explain me something about googlebot?

121


Tell us what do you know about lsi?

456


what type of bidding method is used to manage image ads on the google display network?

5


When setting up a campaign, you can use display planner to get an idea of the budget and bids you should set based on your?

1


What is no-follow link?

438


Differentiate between Dofollow and Nofollow?

484


What are the effects on websites using the organic search optimizations?

450