我真的会把我的头发拉出来,我花了一整天时间讨论这个话题,我似乎无法理解这个概念。元数据与微数据之间的差异是什么?你何时使用它们?
答案 0 :(得分:0)
此问题有重复:What is the difference between metadata & microdata?
但要具体解释。此页面包含以下元数据:
<title>html - HTML5 = What is the diffrence between Metadata vs Microdata? - Stack Overflow</title>
<link rel="shortcut icon" href="//cdn.sstatic.net/stackoverflow/img/favicon.ico?v=4f32ecc8f43d">
<link rel="apple-touch-icon image_src" href="//cdn.sstatic.net/stackoverflow/img/apple-touch-icon.png?v=c78bd457575a">
<link rel="search" type="application/opensearchdescription+xml" title="Stack Overflow" href="/opensearch.xml">
<meta name="twitter:card" content="summary">
<meta name="twitter:domain" content="stackoverflow.com">
<meta property="og:type" content="website">
<meta property="og:image" itemprop="image primaryImageOfPage" content="http://cdn.sstatic.net/stackoverflow/img/apple-touch-icon@2.png?v=73d79a89bded&a">
<meta name="twitter:title" property="og:title" itemprop="title name" content="HTML5 = What is the diffrence between Metadata vs Microdata?">
<meta name="twitter:description" property="og:description" itemprop="description" content="I literaly am going to pull my hairs out, Ive spend a whole day on this topic and I cant seem to grasp the concept. What is the diffrence between Metadata vs Microdata? and when do you use them?
">
<meta property="og:url" content="https://stackoverflow.com/questions/36000561/html5-what-is-the-diffrence-between-metadata-vs-microdata">
<link rel="canonical" href="https://stackoverflow.com/questions/36000561/html5-what-is-the-diffrence-between-metadata-vs-microdata">
它只是描述页面内容的数据。数据是元。
另一方面,微数据是一种结构化标记,用于标记页面上的证书实体,例如产品,文章或评论。例如:http://microformats.org/或https://developers.google.com/structured-data/。你可能会感到困惑的是这个数据对页面有什么样的影响。两者都与SEO或社交分享有关。元数据有助于搜索机器人收集有关页面的信息。微数据/结构化数据可以以标准方式传递某些信息,以搜索可以以标准化方式使用和显示数据的机器人或社交共享站点。