TurkReno | Alabama Website Design, Hosting and Optimization

Home » Website Design » Error messages for corrupt HTML
It is currently Thursday, 09 Sep 2010.

Error messages for corrupt HTML

Vlad Alexander asks Should error messages be displayed for corrupt HTML5?. Sure, why not.

Many people who do not like the idea of browsers displaying error messages for corrupt/invalid HTML tend to equate error messages with the “Yellow screen of death” that Firefox and other Gecko-based browsers display when they encounter a non well-formed XHTML document served as application/xhtml+xml.

This is often referred to as “draconian error handling” and is indeed quite harsh. But it is not the only possible way of notifying the user that something is wrong with the document they are viewing. Error notification can be a lot more discrete, like the smiley that iCab displays in the status bar. It’s sad if there are errors in the document’s HTML or CSS, happy if there are none. Click the sad smiley and you get a list of the errors. Completely unobtrusive in my opinion. Safari for the iPhone and iPod Touch has a somewhat similar feature in the Debug Console (which is hidden by default).

If you feel strongly either way about error messages for broken HTML, you may want to read An open invitation to the HTML5 team, where Vlad invites Ian Hickson, editor of the HTML 5 specification, to debate on this topic.

TurkReno Incorporated, established in 2008, is a Website Design, Website Hosting and Search Engine Optimization (SEO) Services company operating from Daphne, Alabama. At TurkReno, we Create Solutions That Work™. Choose Professional Website Design, Hosting and Search Engine Optimization in Daphne, Alabama by TurkReno Incorporated!

Experienced in Google Adwords

Google AdWords Marketing

We are experts in Google AdWords. We can help you with your current or next Search Engine Optimization project or Google AdWords Marketing Campaign to improve your return-on-investment.

Eastern Shore Chamber of Commerce Better Business Bureau Accredited Business Now Accepting VISA, MasterCard, American Express and Discover
Verified by Merchant Circle
Valid XHTML 1.0 Transitional