参考https://www.w3school.com.cn/html/index.asp
HTML中的样式
<html>
<head>
<style type="text/css">
h1 {color: red}
p {color: blue}
</style>
</head>
<body>
<h1>header 1</h1>
<p>A paragraph.</p>
</body>
</html>
没有下划线的链接
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta http-equiv="Content-Language" content="zh-cn" />
</head>
<body>
<a href="https://www.w3school.com.cn/example/html/lastpage.html" style="text-decoration:none">
这是一个链接!
</a>
</body>
</html>
链接到一个外部样式表
<html>
<head>
<link rel="stylesheet" type="text/css" href="https://www.w3school.com.cn/html/csstest1.css" >
</head>
<body>
<h1>我通过外部样式表进行格式化。</h1>
<p>我也一样!</p>
</body>
</html>