What's the point of valid CSS/HTML?

前端 未结 17 1999
梦如初夏
梦如初夏 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:12

    I'll answer by an analogy. What you are saying is like saying I like building my cars with square tires, it might not be valid everywhere, but it works for me.

    If you do not make a product that can be available by a maximum of people, how do you expect your product to be known and used by a maximum of people. By ignoring people that are using IE (which is still the majority of people, by the way) your shooting yourself in the foot. You need to create something that can be used by a vast majority of people while trying to follow the standards for those browsers that do follow them.

提交回复
热议问题