Why Is My Form Suddenly Invalid?

Another simple but impressive offering from the 24 ways to impress your friends advent calendar.

Today, the 13th, Roger Johansson offers up Transitional vs. Strict Markup.

If you’re looking for an HTML vs. XHTML fight this isn’t it. Instead he covers the less talked about choice between the “Strict” and “Transitional” variations of either. Though not intended to be comprehesive he does offer a very good list of ways the DTDs differ including:

  • Elements that are not allowed in Strict DOCTYPEs
  • Attributes not allowed in Strict DOCTYPEs
  • Content model differences

Comments Temporarily(?) Removed