XHTML 1.0 Strict - div align=“center” still working?

前端 未结 1 1686
感动是毒
感动是毒 2021-01-15 08:08

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

1条回答
  •  伪装坚强ぢ
    2021-01-15 08:26

    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.

    0 讨论(0)
提交回复
热议问题