Is it semantically incorrect to put a
or inside of a <button>?

后端 未结 5 1153

I\'d like to do the following, but is it semantically correct?


         


        
5条回答
  •  感情败类
    2020-11-30 13:56

    No it is not valid. You can verify it at W3C.

    http://validator.w3.org/#validate_by_input+with_options

    Paste this in the direct input and then validate.

    
    
    
    

    Set the UTF8 encoding and select HTML5 when testing at W3C.

提交回复
热议问题