HTML5<文章>对于电子商务产品文章>
新的 HTML5 文章标签看起来非常伟大和美妙,这里和其他地方已经有很多关于它的用途的讨论。
不幸的是,所有这些讨论似乎都是在博客或新闻网站的背景下进行的,其中的内容只是内容。
在电子商务网站中,要问的最大问题是,我现在如何标记产品?
以规范为指导,似乎可销售的物品确实是可以联合出售的独特物品(而且经常如此)。文章标签看起来很匹配,但我没有看到它以这种方式使用。
除了所有示例博客等之外,这里是否合适,因为它们似乎更直观地适合标签名称?或者我对规格的要求太高了?
任何指导将不胜感激。
The new HTML5 article tag all seems very great and wonderful and there has been much discussion here and elsewhere about its uses.
Unfortunately, all this discussion seems to be in the context of blog or news sites where the content is all just that, content.
In an ecommerce site, the biggest question to be asking is, how do I now mark up a product?
Taking the spec for guidance, it seems that a saleable item is indeed something distinct that could be syndicated (and often is). The article tag seems like a good match, yet I see no mention of its use in this way.
Is it appropriate here but all the examples blogs etc. because they seem to fit a bit more intuitively with the name of the tag? Or am I stretching too hard at the spec?
Any guidance would be much appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
请参阅以下 W3C 规范的引用。也许
article
是合适的,因为产品可以被视为“独立的内容项”。尽管不使用语义元素,您可能希望查看 schema.org 中的产品架构。
See the following quote from the W3C spec. Perhaps
article
is suitable, as a product can be considered an "independent item of content."Although not using semantic elements, you may wish to look at the Product schema from schema.org.
您应该看看这篇文章
看起来
并不是一个坏主意。我使用来自此处的指针和 http://schema.org/Product 用于电子商务网站项目。
You should take a look at this article
Looks like
<article>
is not that bad an idea. I am using pointers from here and http://schema.org/Product for an e-commerce site project.