BT

New Early adopter or innovator? InfoQ has been working on some new features for you. Learn more

New HTML Parsing Rules in IE 10

| by Jonathan Allen on Jul 08, 2011. Estimated reading time: 1 minute |

One of the major changes in HTML 5 was the standardization for non-standard HTML, or more specifically, mal-formed HTML. Browsers are notoriously lenient when it comes to accepting HTML that contains flaws such as missing end tags. This leniency is widely credited for the continued success of HTML in the face of rival standard such as XHTML.

The HTML Living Standard reads,

This specification defines the parsing rules for HTML documents, whether they are syntactically correct or not. Certain points in the parsing algorithm are said to be parse errors. The error handling for parse errors is well-defined: user agents must either act as described below when encountering such problems, or must abort processing at the first error that they encounter for which they do not wish to apply the rules described below.

According to Tony Ross of Microsoft, Internet Explorer will start abiding by these new parsing rules in the recently released version 10, platform preview 2. While it is always best to use valid HTML, sites that cannot be fixed before IE 10 is released will need to run in legacy mode.

Another change is the removal of the following features:

Again, this only applies when not running in a legacy mode.

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and dont miss out on content that matters to you

BT