问题标签 [xhtml-1.1]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
w3c-validation - XHTML 1.1 中的微数据:没有属性“itemprop”
我将 Microdata 添加到我网站的产品页面中。这会导致一些错误。这些错误之一如下:
没有属性“itemprop”
该错误与此源代码行有关:
我的文档类型如下:
在保持相同的 Doctype 时如何使页面符合 W3C?
html - W3C Validator 不喜欢使用
每当我使用一个元素时,我都会在 xhtml 1.1 验证器 (W3C) 上抛出一堆错误。
一旦我将元素更改为 a<div>
所有错误都会消失。
在浏览器中,表单可以在两种状态下工作(作为一个<div>
或作为一个元素,减去当我使用时,提交按钮将不起作用<form>
的事实。<div>
任何人都知道为什么它会无效?