我正在尝试从第二行开始添加文本。我只知道文本间距和边距,但在这种情况下没有帮助。怎么做,如下图。
问问题
233 次
3 回答
2
您可以使用 HTML 中的内置编号列表。即<ol>
标签:
演示:http: //jsfiddle.net/x9v2t/
代码:
<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>
于 2012-09-26T08:40:38.933 回答
1
于 2012-09-26T08:28:32.503 回答
1
我希望这对你有帮助..
<dl>
<dt>1. Coffee</dt>
<dd>black hot drink</dd>
<dt>2.Milk</dt>
<dd>white cold drink</dd>
</dl>
演示:小提琴
否则使用这个
<ol>
<li></p>Something here...</p></p>Something more here...</p></p>Something something something</p> </li>
<li></p>Something else...</p></p>Something else here...</p></p>Something something something</p> </li>
</ol>
- 这里有什么...这里还有更多...某事某事某事
- 还有什么...这里还有别的...某事某事某事
于 2012-09-26T08:49:32.713 回答