Home > Web Front-end > JS Tutorial > What is a file with the extension js as suffix [Original]_Basic knowledge

What is a file with the extension js as suffix [Original]_Basic knowledge

WBOY
Release: 2016-05-16 19:07:22
Original
3341 people have browsed it

Many friends have just started to contact the Internet and do not understand what files with the suffix js are. In fact, this file with the extension .js is a javascript file. Why do we need to use the
format to call the file? In fact, we often do this During the web page process, if the js file is written into the web page, it is not conducive to our repeated modifications. If we need to modify the js file in the future, we can directly change the js file without changing the entire web page. Now everyone's website is generated statically HTML, if you want to modify thousands of static pages, whether it is to replace or to save website space, it is a good choice. It should be noted that our js file can only contain js syntax, not simple text. I hope that brothers who have just started to contact this area will join more

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 Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template