📄 sample_004_文本格式化.txt
字号:
<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>
for i = 1 to 10
print i
next i
</pre>
<!-- 预格式文本保留了空格和换行,很适合显示计算机代码 -->
<code>Computer code</code>
<br>
<kbd>Keyboard input</kbd>
<br>
<tt>Teletype text</tt>
<br>
<samp>Sample text</samp>
<br>
<var>Computer variable</var>
<br>
<!-- 这些标签常用于显示计算机/编程代码。 -->
<address>
Donald Duck<br>
BOX 555<br>
Disneyland<br>
USA
</address>
<!-- 填写地址 -->
<abbr title="United Nations">UN</abbr>
<br>
<acronym title="World Wide Web">WWW</acronym>
<!-- 在某些浏览器中,当您把鼠标移至缩略词语上时,title 可用于展示表达的完整版本 -->
<!-- 从右向左输出(浏览器要支持bdo) -->
<bdo dir="rtl">
Here is some Hebrew text
</bdo>
这是长的引用:
<blockquote>
这是长的引用。这是长的引用。这是长的引用。这是长的引用。这是长的引用。这是长的引用。这是长的引用。这是长的引用。这是长的引用。这是长的引用。这是长的引用。
</blockquote>
这是短的引用:
<q>
这是短的引用。
</q>
<!-- 插入与删除效果 -->
<p>
一打有
<del>二十</del>
<ins>十二</ins>
件。
</p>
<p>这是一个字符实体:�</p>
<pre>
最常用的字符实体
显示结果 描述 实体名称 实体编号
空格  
< 小于号 < <
> 大于号 > >
& 和号 & &
" 引号 " "
' 撇号 ' (IE不支持) '
其他一些常用的字符实体
显示结果 描述 实体名称 实体编号
¢ 分 ¢ ¢
£ 镑 £ £
¥ 日圆 ¥ ¥
§ 节 § §
? 版权 © ©
? 注册商标 ® ®
× 乘号 × ×
÷ 除号 ÷ ÷
</pre>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -