直接在head里通过style写
<style> 选择器{ 属性:值 } </style>
通过link标签引入css文件(最正规)
<link rel="stylesheet" href="mycss.css">
行内式(一般不用)
<h1 style="color: green">老板好 要上课吗?</h1>
css
原文:https://www.cnblogs.com/Tornadoes-Destroy-Parking-Lots/p/12878277.html