Will removing the type from a [removed] tag break in any browsers?

后端 未结 3 453
名媛妹妹
名媛妹妹 2021-01-01 21:01

In HTML5, you no longer need to include the type in a script tag when you are using JavaScript.

Are any common browsers (IE6+, Firefox 2+, Safari 3+, Opera 9+ or sim

3条回答
  •  情书的邮戳
    2021-01-01 21:25

    going to break anywhere?

    No

    As per HTML4 specification, it won't be a valid markup only as per W3C Validator if you remove type attribute from the

提交回复
热议问题