??? ????? ??? ??????? ????? ????? PageSpeed Insights ?? HTML ????? ?? ???? ??? ??? JavaScript ????? ????? ?? ??? ?????? ( ????? ?? ????? ????? ?? ???? ?????).
??? ??? ??????? ????? ???? ????? ??? ?? ????? ?? ??????? ??? ????????. ??? ???? ???????? ???? ??????? ?? ???? ?????? ?????? ????? ????? ???????? ???? ???? ????? ??????? ?????? JavaScript. ?? ?? ??? ???? ???? ??? ??????? ???? ??????? ????? ???? ?????? ??????? ??? ??????? ??? ???? ??? ????? ?? ????? ???? ????? ???? ???.
???? ?????? JavaScript ??????? ?????? ????? ?????? ??????? ?????? ????? JavaScript ??????? ?????? ????? ???? ??? ???? ????? ??? ??? ????? ????? ?????? ??????. ???? ??? ?????? ??? ??????? ???? ???????? ??? ???? ?????
????? ????? ????? CSS.
??? ???? ??????? ?????? ???????? ?????? ?????? ??????? ?????? ??? ????? HTML. ???? ????? ??????? ?????? ???? ??????? ??????? ??????? ????? ????? ?????. ??? ???? ??????? ??? ??? ????? HTML ???? ??? ??? :
< html >
< head >
< script type="text/javascript " src="small.js" > < / script >
< / head >
< body >
< div >
????? ?????? !
< / div >
< / body >
< /html >
???????small.js
???? ????? ?????? :
* ??????? ??? ???? ?????? ????*
??? ???? ????? ????? ???????? ????? ??? ????? ?????? :
< html >
< head >
< script type="text/javascript" >
* ??????? ??? ???? ?????? ????*
< / script >
< / head >
< body >
< div >
????? ?????? !
< / div >
< / body >
< /html >
???? ??????? ????? ???small.js
???? ?? ????? HTML? ??? ???? ??????? ???????? ????.
???? JavaScript ?? ??? ????? ????? ?????? ???? ???????? ???? HTML ??? ????????? ??? ????? JavaScript. ???? ???? ?????? :
< script async src = " my.js" >
??? ??? ???? JavaScript ?????? document.write? ??? ???? ??????? ??????? ??? ???????? ?????. ???? ?????? ???????? ????? ???????? document.write ???????? ?????? ???? ????? ?? ???.
???????? ??? ???? ??? ????? JavaScript ???? ??? ??????? ??? ???? ???? ????? ?????? ?? ???? ?????? ??????? ?????? ?????????? ????? ??? ?????? ?? ?? ??????? ????? ?? ???? ?????? ??????? ?????? ?????? ??????? ???????.
- ???? ?? ??? ?????? ????? JavaScript ( ??? jQuery)?
- ???? ??????? ?????? ?? ?????? JavaScript ( ??? jQuery ) ?????? ????? ????? ?????? ????? ????? ????? ?????? ???????? ???? ??? ????? ?????. ??? ???? ???? ????? ???? ??? ????????? ????? ??? ????? ????? ?????? ??????. ?? ?? ??????? ?? ??? ??? ????? ????? ????? ?????? JavaScript ??? ??? ??? ????? ???? ?????.
- 如果我使用JavaScript框架來構(gòu)造網(wǎng)頁,該如何操作?
- ??? ?? ????? ????? ???? ????? ?????? JavaScript ?? ???? ??????? ???? ?? ???? ???? ??? ??? ????? ????? ????? JavaScript ??? ????? ????? ?????? ???? ?????? ??????? ?????? ??????. ???????? ???? ?? ???? ??????? ????? ???????? ?? ???? ?????? ??? ????? ????? ????? ???? ????? ?????? ???? ???? ???????? ??????? : ????? ???? JS ??? ??????? ?????? ??????? ?? HTML? ?? ??????? ???? ?????? ??? ????? ???????. ????? ?? ???????? ??? ????? ?? ???? ??????? ????http://youtu.be/VKTWdaupft0? ? = 14m28s.
?
???????? ?????? ????? ??? ????? ??? ?????? ???? ?? ?????????? ???????? ????????? 3.0 License)? ?????? ?????? ??????? ????? ??????? (???? Apache 2.0 License?? ??? ?????????? ???????????? ????????.