1

在使用W3C Validator验证 HTML5 文档时,我遇到了这个警告:

文本运行不在 Unicode 规范化表格 C 中

在这段代码的最后一行:

<input type="radio" name="bullets" id="bullets1" value="1" checked>
<label for="bullets1">&#9632;</label>&nbsp;&nbsp;
<input type="radio" name="bullets" id="bullets2" value="2">
<label for="bullets2">&#9679;</label>&nbsp;&nbsp;
<input type="radio" name="bullets" id="bullets3" value="3">
<label for="bullets3">&omicron;</label>&nbsp;&nbsp;
<input type="radio" name="bullets" id="bullets4" value="4">
<label for="bullets4">&raquo;</label>&nbsp;&nbsp;
<input type="radio" name="bullets" id="bullets5" value="5">
<label for="bullets5">&#9002;</label>

起初我以为是因为我使用的是 an&#number;而不是&name;,但前两种子弹类型也使用了&#number;

然后我尝试直接使用 〉 符号,而不是&#9002;,但这会在 Adob​​e AIR(WebKit)下产生不同的(更宽/像素化的)符号:

使用&#9002;

对比

使用〉</p>

我该如何解决这个警告?这实际上是 15k 行项目中唯一需要修复的警告/错误。

4

0 回答 0