CSS text-indent 属性 实例 缩进段落的第一行50像素: p{ text-indent:50px; } text-indent 属性规定文本块中首行文本的缩进。 注意: 负值是允许的。如果值是负数,将第一行左缩进。 默认值:0;JavaScript 语法: object.style.textIndent=“50px”