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 8926591
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T08:00:23+00:00 2026-06-15T08:00:23+00:00

I don’t have much experiences in writing HTMLs. As I know, some errors won’t

  • 0

I don’t have much experiences in writing HTMLs.
As I know, some errors won’t be complained by the morden web browsers, like:

<html>
<ol>
<li> ordered item 1
<li> ordered item 2
</ul>

<ul>
<li> unordered item 1
<li> unordered item 2
</ul>
</html>

Instead of reporting the mismatching error between <ol> and </ul>, it will render the page as below:

  • ordered item 1
  • ordered item 2

    • unordered item 1
    • unordered item 2

    I am wondering:

    Will web browsers render the webpage anyway, no matter what errors are there in the HTML?

    i.e.

    In which situations, the web browsers will complain the errors in the HTML?

    Further, Is this no-error-reporting required by HTML5 specification?

    • 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-06-15T08:00:25+00:00Added an answer on June 15, 2026 at 8:00 am

      Will web browsers render the webpage anyway, no matter what errors are
      there in the HTML?

      In the HTML serialization, modern browsers follow a parsing algorithm designed to be tolerant of mark up errors, and will render whatever it makes of the complete input stream.

      In the XHTML serialisation, the parsing must follow XML parsing rules. This means that if and when it encounters a well-formedness error, it must stop parsing the input stream. The browser is not required to report an error (Firefox does, IE9 doesn’t), and may choose to simply render whatever DOM it has built at the point where it had to stop parsing, and remain HTML5 conforming.

      In which situations, the web browsers will complain the errors in the
      HTML?

      Browsers do not, in practice, report errors, except for XML well-formedness errors when using the XHTML serialization, and then only sometimes. If they did, then they are telling the user, who is not the least bit interested in whether the author made a mistake when the page was written. All the user wants is access to the content.

      Further, Is this no-error-reporting required by HTML5 specification?

      No it isn’t. Browsers are entitled if they so wished to report such errors. The HTML serialization parsing algorithm is quite clear about when a error occurs. In the case of your mark up, the relevant rule says:

      An end tag whose tag name is one of: “address”, “article”, “aside”,
      “blockquote”, “button”, “center”, “details”, “dialog”, “dir”, “div”,
      “dl”, “fieldset”, “figcaption”, “figure”, “footer”, “header”,
      “hgroup”, “listing”, “menu”, “nav”, “ol”, “pre”, “section”, “summary”,
      “ul”

      If the stack of open elements does not have an element in scope with the same tag name as that of the token, then this is a parse
      error
      ; ignore the token.

      …

      Then the rules for handling parse errors does not require browsers to either report them or not report them. Validators are required to report at least one such parse error,

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

    Sidebar

    Related Questions

    don't know what happened in my jcrop selection. I think I pressed some keys
    Don't they both have to convert to machine code at some point to execute
    Don't have much to say, just can get into the event handler. XAML: <Grid>
    I don't have much knowledge about the IPv6 protocol, so sorry if the question
    Don't know if this has been answered before. Have custom routes to users. If
    Don't know much about encryption... Say I'm preparing a SAML request to submit to
    Don't know why but I can't find a solution to this. I have 3
    Don't know the term for the red validation border, does it have one? I
    don't know better title for this, but here's my code. I have class user
    Don't know much about running a function on every item in an array, still

    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.