<head> 태그 내부에 <style> 태그를 추가하고 CSS 작업하는 방식<link> 태그로 등록하는 방식
p {
font-family: '맑은 고딕', '고딕', sans-serif; /* '맑은 고딕' 사용, 없으면 '고딕' 사용, 없으면 고딕 계열(sans-serif) 사용 */
font-family: '궁서', '명조', serif; /* '궁서' 사용, 없으면 '명조', 없으면 명조 계열(serif) 사용 */
font-size: 32px; /* 디폴트 16px */
font-weight: 900; /* 디폴트 400, 100~900 */
font-style: italic; /* italic(기울임), normal(안 기울임) */
color: crimson;
color: rgb(0, 0, 0); /* red(0), green(0), blue(0) - black */
color: rgb(255, 255, 255); /* red(255), green(255), blue(255) - white */
color: #000000; /* 16진수 색상코드 : red(0), greed(0), blue(0) - black */
color: #FFFFFF; /* 16진수 색상코드 : red(255), green(255), blue(255) - white */
color: rgba(0, 0, 0, 1); /* red(0), green(0), blue(0), alpha(0 ~ 1) : 투명도(0은 투명, 1은 불투명) */
letter-spacing: -1px; /* 글자 사이 간격(자간) */
line-height: 64px; /* 행 높이(세로 가운데 정렬할 때 주로 사용) */
}
블록 : div, hr, h1~h6, p, pre, ul, ol, li, dl, dt, dd, table, form
인라인 : span, br, strong, em, ins, del, mark, img, audio, video, a, input, select, textarea, button, label
pre {
/* 블록 요소는 정렬이 된다. */
text-align: center; /* 가로 가운데 정렬 */
}
a {
/* 인라인 요소는 정렬이 되지 않는다. */
text-align: center; /* 가로 가운데 정렬 (적용안됨) */
text-decoration: none; /* 밑줄 없음 */
}

link>태그 <style>
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR&display=swap');
h1 {
font-family: 'Noto Sans KR', sans-serif;
}
</style>
<ink rel="stylesheet" href="알아낸 URL"><i class="xxx"></i> 태그를 가져온다. <p>
휴지통<i class="fa-solid fa-trash"></i>
휴지통<i class="fa-solid fa-trash fa-2x"></i>
휴지통<i class="fa-solid fa-trash fa-3x"></i>
휴지통<i class="fa-solid fa-trash fa-4x"></i>
휴지통<i class="fa-solid fa-trash fa-5x"></i>
</p>
크기 지정 가능

#id.class <style>
.asia > h4 ~ p { /*h4와 같은 수준에 있는 모든 p (기준 이전 형제는 포함되지 않음)*/
color: rgb(185, 185, 185);
}
</style>
<div class="asia">
<p>한국</p>
<h4>아시아</h4>
<p>한국</p>
<p>일본</p>
<p>중국</p>
</div>

<style>
.hobby > h4 + input + label {
color: #c2c3c4;
}
</style>
<div class="hobby">
<h4>취미</h4>
<input type="checkbox" id="fitness">
<label for="fitness">헬스</label>
<input type="checkbox" id="travel">
<label for="travel">여행</label>
<input type="checkbox" id="cook">
<label for="cook">요리</label>
</div>
