css 적용 방법
html 에 css 를 적용 시키는 방법
inline
html 태그의 style attribute 로 정의해서 css 를 적용시킴
<p style="color: #00bf8f"></p>
internal
style 태그로 css 를 적용 시킴
<style>
h1 {
color: red;
}
</style>
linking
별도 css 파일을 만들고 include 하는 방식
page.css
h1 {
color: red;
}
<link rel="stylesheet" href="page.css">