html中怎样让td的内容折行

html-css08

html中怎样让td的内容折行,第1张

你好换行,可以直接使用<br>或<P>

比如:

<td>111111111<br>22222222222</td>

<td><p>111111111</p><p>22222222222</p></td>

以上两种方式都可以。

<html>

<body>

<p>

To break<br />lines<br />in a<br />paragraph,<br />use the br tag.

</p>

</body>

</html>