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
How does search engine perform? - SEO
Suppose you have created an ad group to advertise gourmet chocolate, and it includes keywords like dark chocolate and gourmet chocolate bars. If you opted this particular campaign into the google display network, what type of targeting would automatically be used to determine whether your ads might show?
How are the words in a url separated?
Name some of the few black hat techniques that one should avoid?
Name of a few popular seo tools?
Name some of the google adwords ad extensions?
Why are we using google adwords?
A keyword with very low clickthrough rate (ctr) will usually receive-?
What do you understand by Trust Flow?
Tell me what is canonical url?
What exactly is a spider?
What is world wide web?
Your ad can show to a user when your targeted language matches?
Tell me what is search engine submission?
Which is a factor that google uses to target ads to users based on physical location?