Trivium

January 2009

25jan2009

A quick survey in HTML error correction: this page mistakenly tries to close a <h1> with <h2>, and this is what happens:

  • h1 not closed (everything turns bold): Safari, Chrome, Opera, (E)Links, Hpricot.
  • h1 is closed (normal rendering): Firefox, IE, Lynx, w3m, Dillo, Tidy (warning, no error), Nokogiri.

The interesting thing to notice here is that the difference between the first and the second line essentially is the age of the software. Did HTML parsers become stricter “recently”?

Copyright © 2008–2021