Forum Moderators: open
Thanks,
-Robin
Browsers don't validate webpages against W3C DTDs. They probably never will. However, some of them are getting very strict about 'well-formedness'. I still haven't seen ANY argument that shows the benefits of validating code per se. However, it's certainly a good idea to use a validator to check that your pages' code is well-formed.
WRT the 'non-standard' event-handlers, you have a few choices:
1. Write your own DTD (hmmm!)
2. Remove the the offending instances for the purposes of validation, then stick them back in again.
3. Simply ignore any validator warnings that are just dull stuff about "ondrag".
4. Leave those event handlers out entirely, and add them via script when the page downloads.