示例工程 05-comments-entities

05-comments-entities/demo-01-entities/README.md

markdown · 0.2 KB

运行:字符实体

点击「运行示例」后,左侧显示源码、右侧显示运行结果;console 输出会实时回传。

# demo-01-entities

命名实体、数字实体与十六进制实体。

## 观察

- `<section>` 作为文字显示,而不是标签
- `&amp;` 显示为 &
- `&copy;`、`&#169;`、`&#xA9;` 都是 ©
- `&nbsp;` 是不换行空格