HTML
파일에 CSS
를 적용하는 방식에는 3가지 방식이 있다.
▶ Inline > External = Internal
적용하고자 하는 태그 안에 style
요소를 이용하여 css
적용
ex) <h1 style="color : red; ">내용</h1>
HTML
파일 내부 <head>
태그 안에 <style>
태그를 이용하여 css
를 적용
ex) <head><style>h1{ color : yellow; }</style></head>
HTML
파일 외부에 css
파일을 작성하고 link
하여 적용하는 방식
<head>
태그 안에 <link>
태그를 이용하여 css
파일을 적용한다.
ex) <head><link rel="stylesheet" type="text/css" href="test.css"></head>
정리가 너무 잘 되어있네요! 글 잘 봤습니다.