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

  • Home
  • SEARCH
  • 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 7613743
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T02:13:41+00:00 2026-05-31T02:13:41+00:00

Firefox has a certain tolerance when rendering bad HTML. This means even if a

  • 0

Firefox has a certain tolerance when rendering bad HTML. This means even if a closing tag is left out, the HTML will be displayed as if everything was fine. This tolerance aspect is particularly relevant when one is using JavaScript to manipulate or add content in the current page.

Since I use Firefox as my main testing/developing browser, I’ve been troubled more than once by this behavior of which the consequences are loss of functionality in “more strict” browsers. For instance the same code in Microsoft Internet Explorer failed to produce any visible output due to the mentioned missing tag on the added content.

Now the question is, is there any way of telling Firefox to be more strict about the accepted HTML and fail instead of “guessing a fix” for it (specially when the HTML is being added via JavaScript)?

PS: I’ve tried playing with the DOCTYPE but the results were the same.

  • 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-31T02:13:42+00:00Added an answer on May 31, 2026 at 2:13 am

    All parsers are forgiving to some degree. Most mainstream sites have errors (not that this makes it excusable, just saying). If you develop with a debugger attached, you will catch script errors much more quickly. I also catch script errors by using a minifier in my build process (which will fail on major syntax issues). I valid my HTML markup using Visual Studio 2010’s real-time warnings (which aren’t always perfect) and periodically use the w3 validator service.

    For browser choice, I usually develop across the board; in one sitting I literally may switch between IE7/8/9 modes, Chrome, and Firefox. Safari and Opera usually work if the aforementioned browsers are covered. This way I don’t get too far down an erroneous path.

    BTW, DOCTYPE is important (even if it doesn’t always seem that way).

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

Sidebar

Related Questions

In Firefox 3.6, IE7 and Opera 10 on Windows, this HTML has an odd
Firefox has this nice find-a-text-on-the-page dialog, which is non-modal and shows up at the
Firefox 3.5 does not allow creating java OBJECT tag with Javascript (document.write)? this technique
Possible Duplicate: Debugging JavaScript in IE7 Firefox has Web Developer plugin and Firebug for
Firefox 3 has introduced a new behavior in which line-height, when unset, differs from
I've read that Firefox 3.5 has a new feature in its parser ? Improvements
When a user has several Firefox extensions, what decides the order in which they
If my app has been tested in Firefox 3, Safari 3 & IE 7
Firefox requires xhtml extension for mathml but IE will not display pages with xhtml
Firefox 3 now stores bookmarks in a Sqlite file called profiles.sqlite. This file is

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.