Files
HTML/HTML-formatting.html
2016-11-15 16:40:54 +08:00

77 lines
1.4 KiB
HTML

<html>
<body>
<b>This text is bold</b>
<br/>
<strong>This text is strong</strong>
<br/>
<big>This text is big</big>
<br/>
<em>This text is emphasized</em>
<br/>
<i>This text is italic</i>
<br/>
<small>This text is small</small>
<br/>
This text contains
<sub>subscript
</sub>
<br/>
This text contains
<sup>superscript</sup>
<pre>
This is
pre text.
it retains blanks
and new line.
</pre>
<p>pre is suit for code</p>
<pre>
for i =0 to 10
print i
next i
</pre>
<code>computer code</code>
<br/>
<kbd>ketboard input</kbd>
<br/>
<tt>teletype text</tt>
<br/>
<samp>sample text</samp>
<br/>
<var>computer variable</var>
<br/>
<p>
<b>注释:</b>这些标签常用于显示计算机编程代码。
</p>
<address>
Written by <a href="mailto:webmaster@example.com">Donald Duck</a>.<br>
Visit us at:<br>
Example,com<br>
Box 564,Disneyland<br>
USA
</address>
<abbr title="etcetera">etc.</abbr>
<br/>
<acronym title="World Wide Web">WWW</acronym>
<br/>
<bdo dir="rtl">Here is some Hebrew text</bdo>
<blockquote>
这是长的引用。这是长的引用。这是长的引用。这是长的引用。这是长的引用。这是长的引用。这是长的引用。这是长的引用。这是长的引用。这是长的引用。这是长的引用。
</blockquote>
<q>
这是短的引用。
</q>
<p>一打有<del>二十</del><ins>十二</ins>件。</p>
</body>
</html>