Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果有人可以提供帮助,我正在尝试将(无序列表标签>放入 HTML5 中的(有序列表)列表标签中?它确实在浏览器中显示正确,但 W3C 验证器显示错误。这是它显示的错误:元素 ul在此上下文中不允许作为元素 ol 的子元素。(抑制来自该子树的进一步错误。)
谢谢
将列表放入列表元素中,例如
<ol> <li> <ul>...</ul> ... </li> ... </ol>