From c5388e8466fb8a6566eccf082af05e21eb24052a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E6=B5=81=E6=B6=9B?= <1841582040@qq.com> Date: Thu, 26 Oct 2023 18:46:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=9C=E4=B8=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...72\347\241\200\350\257\255\346\263\225.md" | 162 ++++++++++++++++++ 1 file changed, 162 insertions(+) create mode 100644 "57 \351\273\204\346\265\201\346\266\233/20231026 JavaScript\345\237\272\347\241\200\350\257\255\346\263\225.md" diff --git "a/57 \351\273\204\346\265\201\346\266\233/20231026 JavaScript\345\237\272\347\241\200\350\257\255\346\263\225.md" "b/57 \351\273\204\346\265\201\346\266\233/20231026 JavaScript\345\237\272\347\241\200\350\257\255\346\263\225.md" new file mode 100644 index 0000000..9112d1a --- /dev/null +++ "b/57 \351\273\204\346\265\201\346\266\233/20231026 JavaScript\345\237\272\347\241\200\350\257\255\346\263\225.md" @@ -0,0 +1,162 @@ +# 笔记 + +### 在网页中使用js的3种方式 + +​ 1.行内 位置1:html代码行内(不推荐) + +​ 2.内部 位置2:script标签中 + +​ 3.外部 位置3:外部的script文件(需要通过script元素的src属性引入js文件) + +###