سه روش برای استفاده از CSS در HTML وجود دارد:
style<style><link><!-- Inline -->
<p style="color: red;">متن قرمز</p>
<!-- Internal -->
<style>
.blue-text { color: blue; }
</style>
<p class="blue-text">متن آبی</p>
<!-- External -->
<link rel="stylesheet" href="style.css">