Home > Web Front-end > JS Tutorial > Should the script tag attribute be type or language_Basic knowledge

Should the script tag attribute be type or language_Basic knowledge

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-05-16 16:18:39
Original
1303 people have browsed it

Being asked a question:

Copy code The code is as follows:


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
Latest Issues
Ajax submit script submission error
From 1970-01-01 08:00:00
0
0
0
How to use the created hook in the setup script
From 1970-01-01 08:00:00
0
0
0
javascript - script tag async attribute
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template