在本 HTML 教程中,您将学习有关 HTML 中文本格式化的所有内容。我们还将讨论 HTML 中最常用的文本格式化标签。
HTML 格式化是格式化文本以改善其外观和感觉的过程。HTML 允许我们无需 CSS 即可格式化文本。HTML 有各种格式化标签。文本可以通过这些标签进行加粗、斜体或下划线。HTML 和 XHTML 中文本的外观有很多可能性。
<!DOCTYPE html>
<html>
<head>
<title>Text Formatting</title>
</head>
<body>
<p> this is the <b>b tag</b> </p>
<p> this is the <strong>strong tag</strong> </p>
<p> this is the <i>i tag</i> </p>
<p> this is the <em>em tag</em> </p>
<p> this is the <mark>mark tag</mark> </p>
<p> this is the <u>u tag</u> </p>
<p> this is the <strike>strike tag</strike> </p>
<p> this is the <tt>tt tag</tt> </p>
<p> this is the <sup>sup tag</sup> </p>
<p> this is the <sub>sub tag</sub> </p>
<p> this is the <del>del tag</del> </p>
<p> this is the <ins>ins tag</ins> </p>
<p> this is the <big>big tag</big> </p>
<p> this is the <small>small tag</small> </p>
</body>
</html>
