1.스타일 시트 선언
<style type="text/css">
</style>
</style>
2.여러개의 선택자 사용
<style type="text/css">
h1, h2, h3, h4, h5, h6 { color : blue }
</style>
h1, h2, h3, h4, h5, h6 { color : blue }
</style>
3.여러개의 속성 사용
<style type="text/css">
h1 { color:blue ; font-size:24pt }
</style>
h1 { color:blue ; font-size:24pt }
</style>
4.내포된 태그에 속성 적용
<style type="text/css">
H3 EM { text-decoration:underline }
</style>
5.클래스를 사용한 스타일 선언
<style type="text/css">
P.italic { font-style : italic }
P.bold { font-weight : bold }
.underline { text-decoration : underline }
</style>
P.italic { font-style : italic }
P.bold { font-weight : bold }
.underline { text-decoration : underline }
</style>
* HTML태그에 클래스 지정 <p class="italic">이탤릭체 문단
6.ID를 사용한 스타일 선언
<style type="text/css">
#red { color : red }
</style>
#red { color : red }
</style>
* HTML태그에 아이디 지정 <h3 id="red">h3</h3>
7.HTML태그에 style속성 적용
<h2 style="color:blue; text-decoration:underline">제목</h2>
8.외부 스타일 시트 파일 인클루드
<link rel=stylesheet type="text/css" href="mystyle.css">