在html中导入.js [英] Import a .js in a html
本文介绍了在html中导入.js的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好,我知道这是一个常见问题,但是当我尝试在html中导入.js文件时出现问题。
我读了很多页面,他们说我应该把类似这样的事情:
Hello, I know it is a common question but I have a problem when I tried to import a .js file in a html.
I read a lot of pages, they said I should put something like this:
展开 | 选择 < span class =codeDivider> | Wrap | 行号
推荐答案
您好,我知道这是一个常见的问题,但是当我尝试在html中导入.js文件时我遇到了问题。
我读了很多页面,他们说我应该放这样的东西:
Hello, I know it is a common question but I have a problem when I tried to import a .js file in a html.
I read a lot of pages, they said I should put something like this:
展开 | / span> 选择 | 换行 | 行号
谢谢我刚刚解决这个问题几分钟之前只把它放到我的html中:
Thanks I just solve this problem a few minutes ago only putting this into my html:
展开 | 选择 | Wrap | Line Nu mbers
尝试添加
try adding
展开 | 选择 | 换行 | 行号
这篇关于在html中导入.js的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文