1. 程式人生 > 實用技巧 >HTML文字格式化標籤

HTML文字格式化標籤

 1 <!DOCTYPE html>
 2 <html>
 3 <head>
 4 <meta charset="UTF-8">
 5 <title>HTML文字格式標籤</title>
 6 </head>
 7 <body>
 8     <p>這是一個普通的文字- <b>這是一個加粗文字</b></p>
 9     <p><em>強調文字</em></p>
10     <p>He named his car <
i>The lightning</i>, because it was very fast.</p> 11 <p><small> Copyright 1999-2050 by Refsnes Data.</small></p> 12 <p><strong>加粗文字</strong></p> 13 <p>這個文字包含 <sub>下標</sub>文字。</p> 14 <p>這個文字包含 <sup>
上標</sup> 文字。</p> 15 <p>My favorite color is <del>blue</del> <ins>red</ins>!</p> 16 <p>My favorite color is <del>blue</del> <ins>red</ins>!</p> 17 </body> 18 </html>