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
What are custom events in google analytics?
Define blog, article & press release?
How do you do the keyword research?
What are your good qualities?
Explain meta tags?
How many times does a google auction run?
What is the long tail keywords?
What do you think about social media in seo strategy?
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?
Explain what is conversion optimizer in adwords?
What are the limitations of title and description tags?
What is realtime data in analytics?
Tell me what if your website is banned by the search engines for black hat practices?
What is google pigeon update?
Tell us what is html sitemap?