<p></p>标签:一段话或者段落适宜于用p标签;

css控制段落

段落缩进:text-indent:50px;

文字方向:text-align:center居中、left往左显示、right往右显示;

文本装饰线:text-decoration:underline下划线、overline上划线、linethough贯穿线;

字之间的距离:letter-spacing:10px;

css控制段落

<style>
#test1{
background:red;
text-indent:20px;
letter-spacing:10px;
width:600px;
height:100px;
}
#test2{
background:pink;
text-align:left;
text-decoration:underline;
}
</style>
</head>
<body>
<p ></body>

css其他属性百度可得到。

相关文章:

  • 2022-12-23
  • 2021-10-13
  • 2022-12-23
  • 2021-06-25
  • 2021-09-20
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-21
  • 2021-05-28
  • 2022-12-23
  • 2021-10-07
  • 2021-11-24
  • 2022-12-23
  • 2021-12-13
相关资源
相似解决方案