As jeffa and fpi have already pointed out, browsers may interpret content differently, whether that content is HTML, JavaScript, XML, CSS or anything else.

Browsers also interpret HTTP responses differently, so you should be aware of the bugs that exist in certain Web browsers.

Aside from browser compatibility issues, it's worth getting to grips with HTTP if you're writing CGI scripts, because you can use headers such as Expires, Content-Length and Last-Modified to make your site appear faster to users. The Issuing Correct HTTP headers section of the mod_perl guide is the best reference I know of for this. The examples are specific to mod_perl, but the principles can be applied to CGI, JSP, ASP or any other server-side Web programming.


In reply to Re: Browser compatibility! by tomhukins
in thread Browser compatibility! by scottstef

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.