HTML Script tag: type or language (or omit both)?

前端 未结 3 1159
天涯浪人
天涯浪人 2020-11-22 11:20

vs.



        
3条回答
  •  星月不相逢
    2020-11-22 12:14

    HTML4/XHTML1 requires

    
    

    HTML5 faces the fact that there is only one scripting language on the web, and allows

    
    

    The latter works in any browser that supports scripting (NN2+).

提交回复
热议问题