必须转义特殊字符:[>]

时间:2018-03-10 05:16:24

标签: html5

好的,我输了。我用6个项目创建了这个无序列表(没有故意的子弹)。问题是列表的最后两项是"必须转义特殊字符:[>]"在Dreamweaver CC 2017中。叫我失明,但我没有看到这些行中的任何特殊字符。我错过了一些明显的东西吗?

<ul style="list-style-type:none">
    <li>The Oscar is only worth $1</li>
    <li>It takes 10 days to make one Oscar</li>
    <li>The statuettes are 24K gold plated, bronze underneath</li>
    <li>For 3 years during WWII, the statues were made of plaster</li>
    <li>>Over 3000 Oscars have been awarded</li>
    <li>>The statues are 8.5 pounds and 13.5 inches tall</li>
</ul>

1 个答案:

答案 0 :(得分:2)

他们在你的最后两个项目中:

    <li>>Over 3000 Oscars have been awarded</li>
    <li>>The statues are 8.5 pounds and 13.5 inches tall</li>

严格地说,你不需要在这个上下文中对它们进行编码;这样做总是很好的建议,但你在这里所做的并非无效。

但无论如何,根据内容判断他们可能不应该首先出现在那里,因此你的第一直觉可能是将它们删除;继续这样做。

相关问题