meta标签中设置了http-equiv,为什么不设置name属性?

Why should name attribute not be set if http-equiv is set in meta tag?

我在阅读关于 "If the http-equiv attribute is set, the name attribute should not be set" 中 html 中的 元标记 时卡住了一句话。我已经对此进行了搜索,但我找不到这背后的任何原因。

谁能说说这背后的原因?

http-equiv 你可以把它想象成浏览器的指令(刷新,Set-Cookie,expiers)...通过设置一个 http-equiv 属性 你正在改变浏览器行为。

另一方面,对于名称属性,您只是在描述一些东西(标题、关键字等)。

动作和描述是不同类型的想法。