Thread: When to Reboot?
View Single Post
Posts: 2,802 | Thanked: 4,491 times | Joined on Nov 2007
#9
An HTML renderer tries to cope with all sorts of invalid or badly formed documents and do its best to produce some reasonable output for the user. This is because most web documents today are invalid HTML (just look at how many errors this page has for example).

A C compiler on the other hand has the luxury of being able to give up at the first sign of broken input and make it the developer's responsibility to produce valide code.