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 is e-commerce tracking in google analytics?
What is the difference between an inbound link and an outbound link in seo?
How often should you perform a link audit?
Should the keyword density calculated in parts of words or in total?
What is the use of Robot.txt?
What is search console? Why do you use search console.
What is internal link?
What is the limit for the characters in adwords ads?
What is seo and list its types?
Do you know what is robots.txt?
What is directory submission?
What is the difference between internal & external link?
What is inter linking in seo?
What is seo audit?
Which is a benefit of advertising online with google adwords?