I\'m playing around with the doctypes to find the best one for me. I\'m thinking about to use XHTML 1.0 strict, because it shouldn\'t accept the deprecated elements and attr
Doctype switching triggered Standards Mode has nothing to do with enforcing lack of support for deprecated/removed attributes. Most of the effects it has are on disabling the emulation of bugs (such as incorrect handing of width
and assuming integer values are pixel values) in CSS support.
Use a validator to detect when you are using a deprecated HTML feature.