Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6331053
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T17:59:07+00:00 2026-05-24T17:59:07+00:00

As far back as I remember ~1997, web browsers have been very literal in

  • 0

As far back as I remember ~1997, web browsers have been very literal in the HTML syntax they accept for example missing closing tags, mismatch encoding, absence of doctypes, single vs double quotes, even a single closed by a double works in some cases, case sensitivitity etc.. I appreciate that some of this is part of the spec but from what I gather a lot is not.

Why, especially when the average computer might of been a 486 DX2 around 1997 (I appreciate latest would of been a Pentium) where processing and memory were scarce did browser manufacturers burden themselves with the adding parsing processing required to handle bad HTML?

Why didnt we just start off strict from the beginning? the web publisher would of seen his problem before publishing and would not of been an issue.

What have been the advantages in accepting bad HTML?

As someone who previously worked for a screen scraping company I can tell you it was very annoying..

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T17:59:08+00:00Added an answer on May 24, 2026 at 5:59 pm

    Many believe that if markup languages were more like compiled programming code all the ills of today (for an appropriate list of “ills of today”) would disappear. That is not correct, it is not even correct for programming languages. This kind of checking catches syntax errors, and syntax errors, though annoying when discovered, are the easiest ones to fix.

    You can see this with the experience of XHTML, which is HTML with draconian error checking turned on. You can say that it is a limited success in the sense that if you take a random sample of XHTML documents and a random sample of HTML documents the code quality of the former is higher. But if you take away the “XHTML” documents that claim to be “XHTML” but aren’t (that is they are not valid XHTML and often not even well-formed XML) the sample sizes are very different. (This is a longer story, too long for this post.) Historically liberal parsing was not the problem, though divergent parsing was part of the problem (This too belongs to the longer story.)

    Of course syntax matters, if you throw in a or tag at a random place in a document, it is likely going to change in manners that can be hard to predict. Even so markup languages were intended to mark up text, not to be used as a programming code. They are supposed to be easy and they are supposed to fall back to best possible interpretation. In the cases where markup language is used for programming, as in web applications, the programming environment might want to put in checks.

    Which returns us to that good syntax does not protect us from bad logic or bad habits. Take the deeply nested table. In the early days before we invented yet more wasteful habits, the nested table was by far the most CPU-consuming process. It also cost the most programming time by the browser vendors as tables never were satisfactorily defined and each one had to reverse engineer what the others were doing, bugs and all. Yet nested tables are valid XHTML and well-formed XML (well, legacy tables weren’t, but that had neglible consequences for processing time, and moderate consequences for browser development effort).

    The final test is that an XHTML document universally is more time-consuming to process and display than the equivalent HTML document. The reason is that the small gains in simpler processing is overshadowed by the extra processing and constraints by XHTML, including that draconian error checking. In the very early days, before the NS-IE war, this is pretty much what happened. There were attempts at making “proper” browsers, including one based on SGML, which HTML officially was an application of. Now SGML was a beast but in any case the SGML attempt was so slow as to be completely unusable at the web of that time.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So far I have only been updated a view from within its controller. I
I have the following piece of code to calculate how far back in the
In Eclipse my Android SDK Manager doesn't show as far back as API level
I'm working on the back-end of my website and I'm wondering how far I
As far as i remember while installing ubuntu,the installer didn't ask me for the
So far I've been setting up redirects for single pages on my ASP.NET site
As an exercise, I have been trying to build a non-GUI boggle type game
I have looked around and found a couple of solutions for back button support
It's been at least 5 years since I worked with Java, and back then,
How far back up the implementation hierarchy do I want to go when returning

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.