我正在尝试从第二行开始为文本留白。我只知道文本间距和边距,但在这种情况下无济于事。操作方法如下图所示。
最佳答案
您可以使用 HTML 中的内置编号列表。即 <ol>
标签:
代码:
<ol>
<li>Hello World. This is a line in this paragraph that can span mulitple lines. Hello World. This is a line in this paragraph that can span mulitple lines.</li>
<li>Hello World. This is a line in this paragraph that can span mulitple lines. Hello World. This is a line in this paragraph that can span mulitple lines.</li>
<li>Hello World. This is a line in this paragraph that can span mulitple lines. Hello World. This is a line in this paragraph that can span mulitple lines.</li>
</ol>
关于html - 第二行的边距,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12597476/