What's the point of valid CSS/HTML?

前端 未结 17 2000
梦如初夏
梦如初夏 2020-11-30 06:40

If I\'ve tested my pages in most major browsers, why would I need to maintain a validated code? I want to use box-shadows and corner radius if they\'re supported in WebKit b

17条回答
  •  臣服心动
    2020-11-30 07:18

    You can't test in browsers that haven't been released yet!

    Browsers tend to become more standards compliant over time. If you write standards-compliant webpages, they're more likely to still work in the next version of all existing browsers.

提交回复
热议问题