Convert text to HTML online

发布日期 : 2019-12-06 01:35:26 UTC      

分类 : Web

将文本粘贴到下面的文本框中,然后单击“转换”按钮。

生成的HTML代码显示在下面的输出框中。

<p> : 仅使用段落标记。

<p> & <br /> : 使用段落和换行符标签

<br /> : 仅使用白线标签

HTML首选项 : <br /> <br>

编码字符

The HTML web page file itself is a text file. By adding a tag to the text file, you can tell the browser how to display the content (such as how the text is processed, how the picture is arranged, how the picture is displayed, etc.).

Text formatting tag

<table class="pure-table"> <tr> <th>label</th> <th>description</th> </tr> <tr> <td>< b ></td> <td>Define bold text.</td> </tr> <tr> <td>< big ></td> <td>Define a large word.</td> </tr> <tr> <td>< em ></td> <td>Define emphasis on text.</td> </tr> <tr> <td>< i ></td> <td>Define italics.</td> </tr> <tr> <td>< small ></td> <td>Define a small word.</td> </tr> <tr> <td>< strong ></td> <td>Define aggravated tone.</td> </tr> <tr> <td>< sub ></td> <td>Define the lower word.</td> </tr> <tr> <td>< sup ></td> <td>Define the upper label.</td> </tr> <tr> <td>< ins ></td> <td>Define the insertion word.</td> </tr> <tr> <td>< del ></td> <td>Define the delete word.</td> </tr> <tr> <td>< s ></td> <td>Deprecated. use < del >instead.</td> </tr> <tr> <td>< strike ></td> <td> Deprecated. use < del >instead. .</td> </tr> <tr> <td>< u ></td> <td> Deprecated. Replace the style.</td> </tr> </table>

< p >: Use only paragraph marks.

< p> & < br />: Use paragraph and line break labels

< br />: Use only line break labels

HTML Preference: < br /> or < br>