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

Script tag attribute type and language usage selection_javascript skills

WBOY
Release: 2016-05-16 17:47:26
Original
1943 people have browsed it

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. .
Related labels:
source:php.cn
Statement of this Website
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
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template