Home  >  Article  >  Web Front-end  >  Script tag attribute type and language usage selection_javascript skills

Script tag attribute type and language usage selection_javascript skills

WBOY
WBOYOriginal
2016-05-16 17:47:261727browse

Was asked a question:


The result will still pop up a.
In order to ensure that the script program can be executed normally, unless you specifically use the VBScript and Script Encoder mechanisms that are only supported by IE, you should set the "type" attribute of the SCRIPT tag to "javascript" and do not set the obsolete "Languange" attribute. .
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:JS image preloading JS implementation of image preloading application_javascript skillsNext article:JS image preloading JS implementation of image preloading application_javascript skills

Related articles

See more