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

后端 未结 5 1156

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


         


        
5条回答
  •  广开言路
    2020-11-30 14:07

    The current HTML5 draft says it is incorrect.

    http://www.w3.org/TR/2012/WD-html5-20120329/the-button-element.html#the-button-element says that a

提交回复
热议问题