Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/weijun-h/professional-js

JavaScript高级程序设计(第四版)读书笔记
https://github.com/weijun-h/professional-js

Last synced: 20 days ago
JSON representation

JavaScript高级程序设计(第四版)读书笔记

Awesome Lists containing this project

README

        

# professional-js

JavaScript高级程序设计(第四版)读书笔记

## 2.JavaScript in HTML

### 2.1THE \ ELEMENT

\ 的基本参数:

- async
- charset
- crossorigin
- defer
- integrity
- language
- type

```html

```

这种方式在HTML中不合法,应该采用

```html

```

#### 2.1.1标签的放置

引用js时,应该将\放置在最后,如下

```html
<!DOCTYPE html> <html>
<head>
<title>Example HTML Page</title> </head>
<body>
<!-- content here -->
<script src="example1.js">