【发布时间】:2016-04-25 23:10:53
【问题描述】:
假设我有一个我感兴趣的 HTML 段落注释(即添加一些不应该显示的上下文,只是为文本添加含义)
<p>The ultimate measure of a man is not where he stands
in moments of <tag data="some custom annotation">comfort and convenience</tag>,
but where he stands at times of challenge and controversy.</p>
在这种情况下应该使用什么正确的语义标签?
【问题讨论】:
-
1.谁应该使用注释?只有你? 2. 注释是否只包含纯文本? 3. 你用schema.org 标记了这个——为什么?它是否必须以某种方式使用词汇表 Schema.org 中的类型/属性? 4. 你还用rdfa 标记了它——为什么?解决方案是否需要使用 RDFa? 5. 当你用semantic-web 标记它时,解决方案是否必须基于RDF?
标签: html semantic-web schema.org rdfa