w3cschool链接:http://www.w3school.com.cn/html/html_css.asp

 

<html>

<head>
<link rel="stylesheet" type="text/css" href="/html/csstest1.css" >
</head>

<body>
<h1>我通过外部样式表进行格式化。</h1>
<p>我也一样!</p>
</body>

</html>

用<link>,href写的是地址

 

相关文章:

  • 2021-05-27
  • 2022-12-23
  • 2021-10-21
  • 2021-11-17
  • 2022-12-23
  • 2022-12-23
  • 2021-12-15
  • 2021-12-10
猜你喜欢
  • 2021-12-10
  • 2021-12-10
  • 2021-12-10
  • 2022-12-23
  • 2022-12-23
  • 2021-07-25
  • 2022-12-23
相关资源
相似解决方案