What's the point of valid CSS/HTML?

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

    Validating code is one can prevent many find and hopefully fix many problems in your html/css that could cause undesired results. IMHO its more of a "common things that could be wrong" fix than a replacement for testing. If you like the look you're getting in the browsers you want, I wouldn't worry too much about the validation.

    (Yeah, you can put the little badge on your website if you want everybody to know you use validation to check your site) :D

提交回复
热议问题