[removed] tag vs [removed] tag

后端 未结 5 1925
误落风尘
误落风尘 2020-11-28 05:38

I was just wondering, what is the difference between



        
5条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-11-28 05:50

    
    
    
    
    
    
    

    type attribute identifies the scripting language of code embedded within a script element or referenced via the element’s src attribute. This is specified as a MIME type; examples of supported MIME types include text/javascript, text/ecmascript, application/javascript, and application/ecmascript. If this attribute is absent, the script is treated as JavaScript.

    Ref: https://developer.mozilla.org/en/docs/Web/HTML/Element/script

提交回复
热议问题