강의

멘토링

커뮤니티

Inflearn Community Q&A

camellip5540's profile image
camellip5540

asked

Scroll interaction that even beginners can create. Part 1 JavaScript

3-2 Understanding CSS Animations and Keyframes

<style> 태그 위치

Resolved

Written on

·

814

0

안녕하세요, 강사님:)

계속 좀 궁금했는데,

style태그를 head와 body 사이에 넣는 이유가 따로 있으실까요?

전 내내 style태그를 head안에 넣어놨었는데, 구현에는 차이가 없다는 것은 알고 있지만 혹시나 다른 차이가 있나해서요.

javascript인터랙티브-웹jqueryHTML/CSS

Answer 2

1

안녕하세요! :)

style태그는  엄밀히 말하자면 head안에 넣는게 맞습니다 :)

수업에는 파일 이동 없이 보기 편리 하도록 html 파일에 css,js 모두 작성 했었기 때문에

말씀하신 부분은 크게 신경쓰지 않았습니다^^;

혼란스러웠다면 죄송하구요!

다른 궁금증이 생길때는 언제든 문의 주세요 ^^

0

camellip님의 프로필 이미지
camellip
Questioner

넵! 감사합니다🙏

camellip5540's profile image
camellip5540

asked

Ask a question