时间:2021-07-01 10:21:17 帮助过:22人阅读
`©` 有 6 个字符,`©` 只有 1 个。 好看You don't generally need to use HTML character entities if your editor supports Unicode. Entities can be useful when:
- Your keyboard does not support the character you need to type. For example, many keyboards do not have em-dash or the copyright symbol.
- Your editor does not support Unicode (very common some years ago, but probably not today).
- You want to make it explicit in the source what is happening. For example, the code is clearer than the corresponding white space character.
- You need to escape HTML special characters like <, &, or ".