freeCodeCamp/guide/chinese/html/symbols/index.md

16 lines
806 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

---
title: Symbols
localeTitle: 符号
---
## 符号
HTML符号实体是未在用户键盘上显示的字符。许多数学科学和货币符号 普通键盘上没有;因此要使用HTML将这些符号添加到页面可以使用HTML实体名称。 重要的是要注意这些不会影响html代码本身并且将始终被解释为文本。例如如果我们想在网页上键入<div>作为文本,我们可能需要使用这些符号实体。
如果不存在实体名称,则可以使用实体编号或十六进制参考。
![常见的HTML5符号](http://ways2web.weebly.com/uploads/5/4/4/8/54485903/8779038_orig.png)
#### 更多信息:
* ![W3学校参考](https://www.w3schools.com/html/html_symbols.asp)
* ![符号参考图表](https://dev.w3.org/html5/html-author/charref)