<html>

<head><title>style外接样式表</title></head>

<body>

-----------------------------------------------------------

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

<style type="text/css">

<!--

h1{color:teal;font-size:12px;font-family:"黑体"}

.fo{color:greend;text-decoration:line-through;}

-->

</style>

 

外接样式

<p  class="p1">fd</p><!--class作用于标记,本身不是标记,不

能单独使用,像<class="p1">-->

 

内接本页样式

<p class="fo">jfddf</p>

 

内联样式

<p style="background-color:#ff00ff;font-style:italic;">hgh</p>

 

内部样式块

<h1>fdfdg

-----------------------------------------------------------

</body>

</html>

相关文章:

  • 2022-01-20
  • 2022-12-23
  • 2022-12-23
  • 2021-12-26
  • 2021-06-21
  • 2021-12-06
  • 2022-01-05
猜你喜欢
  • 2022-12-23
  • 2021-11-30
  • 2021-11-21
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-06
相关资源
相似解决方案