1. head 태그 사이에 script태그 넣기
<head>
<script>
//내용넣기
</script>
</head>
2. body태그 사이에 script태그 넣기
<body>
<script>
//내용넣기
</script>
</body>
Placing scripts at the bottom of the <body> element improves the display speed, because script compilation slows down the display.
<body> 요소의 맨 아래에 스크립트를 배치하면 스크립트 컴파일이 화면 속도를 늦추기 때문에 표시 속도가 향상됩니다.
그렇다고 합니다...
'개인공부 > 창민 :)' 카테고리의 다른 글
cross domain (0) | 2018.01.12 |
---|---|
centos APM 버전 (2017.12.10) (0) | 2017.12.15 |