You're right that screen scrapers benefit from XHTML. But when I've written the HTML in the first place, I've never seen it be in my interest to encourage screen scraping. Besides which, when I have to screen scrape, I'm generally paranoid enough not to believe that things are XHTML, and I think that anyone else screen scraping probably (should at least) make the same assumption.

As for your comment about browser bugs, I'd frankly be astonished to encounter a workplace where you can get away with saying, "My webpage is fine but IE 6 happens to be broken. Complain to Microsoft." As long as IE is the bulk of the market, any website that is broken in IE is going to be considered broken, no matter what the official standards say.

Generally speaking, I find that if I develop against Mozilla and then fix occasional breakages with IE, I'll wind up with something that works reasonably well on most major browsers. Running through a basic HTML validator looking for unclosed tags takes care of most of remaining browser differences. By contrast, as many complaints out there attest, producing a sophisticated web page using all of those juicy CSS standards typically results in a website that doesn't render right for most people (who, like it or not (I don't) use IE).


In reply to Re^3: Your kung fu is excellent but what about... by tilly
in thread Your kung fu is excellent but what about... by Your Mother

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.