Kornel Lesinski wrote: > If you just want to appease the W3C Validator, then write your own DTD. > > I've written one that allows <input type=search>: > > <!DOCTYPE html PUBLIC "-//KURS BROWSEHAPPY//DTD XHTML 1.0 Strict + > Hacks//EN" "http://kurs.browsehappy.pl/xhtml.dtd"> > See http://kurs.browsehappy.pl/xhtml.dtd > > It's not using the X of XHTML. For HTML it looks almost identical. In case it's not obvious, this may "validate", but you're no longer validating XHTML 1.0 Strict. Compare: http://www.alistapart.com/articles/customdtds2/ There's a value in using a custom DTD (or a schema, or anything really) to enforce your own coding standards. There seems very little value in "appeas[ing]" the validator as though it were some sort of deity demanding blood sacrifice. -- Benjamin Hawkes-LewisReceived on Tuesday, 25 November 2008 00:31:41 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 6 April 2009 12:59:39 GMT