在CSS中缩进段落的第一行
使用 text-indent属性可以缩进段落的第一行。可能的值为%或指定缩进空间的数字。
示例
您可以尝试运行以下代码以缩进第一行:
<html>
<head>
</head>
<body>
<p style = "text-indent:2cm;">
This text will have first line indented by 2cm and this line will remain at
its actual position this is done by CSS text-indent property.
</p>
</body>
</html>热门推荐
10 经典祝福语简短情侣句子
11 给医生简短新年祝福语
12 结婚婚庆祝福语简短
13 祝父母节日祝福语简短
14 儿子31岁祝福语简短
15 对上司的简短祝福语
16 致姐姐生日祝福语简短
17 化学老师元旦祝福语简短
18 甄嬛传祝福语简短