在html中,可以使用text-indent属性来设置段落空两格,只需要给元素设置“text-indent:2em;”样式即可。text-indent属性规定文本块中首行文本的缩进,该属性允许使用负值;如果使用负值,那么首行会被缩进到左边。
<div style="text-indent:2em;">文章内容!</div>。
在html中,可以使用text-indent属性来设置段落空两格,只需要给元素设置“text-indent:2em;”样式即可。text-indent属性规定文本块中首行文本的缩进,该属性允许使用负值;如果使用负值,那么首行会被缩进到左边。
<div style="text-indent:2em;">文章内容!</div>。
2024-08-27 09:08:17
2024-05-09 11:05:34
2024-06-06 10:06:47
2024-04-22 09:04:34
2024-03-29 15:03:20
2024-04-20 17:04:38
2024-05-10 08:05:15
2024-10-30 21:10:12