3.3.6設置等寬文字 html
提問人:劉團圓發(fā)布時間:2020-11-03
為了使網頁中的文字顯示更加整齊、美觀,可以使用以下標記進行設置。
基本語法:
<tt>…</tt>
<samp>…</samp>
<code>…</code>
<kbd>…</kbd>
01:<!--程序3-13-->
02:<html>
03:<head>
04: <title>設置等寬文字</title>
05:</head>
06:<body>
07: <h2>成功源于努力去克服困難</h2>
08: <p><tt>Success grows out of struggles to
overcome difficulties.</tt></p>
09: <p><samp>Success grows out of struggles to
overcome difficulties.</samp></p>
10: <p><code>Success grows out of struggles to
overcome difficulties.</code></p>
11: <p><kbd>Success grows out of struggles to
overcome difficulties.</kbd></p>
12:</body>
13:</html>
繼續(xù)查找其他問題的答案?
相關視頻回答
點擊加載更多評論>>