小编kay*_*nce的帖子

为什么有些元标记末尾有“/”而有些则没有?

如果我们看一下今天应该包含任何文章的相当大的社交元标签列表,我们可以看到其中一些在右括号之前有“/”,而有些则没有。

<!-- Update your html tag to include the itemscope and itemtype attributes. -->
<html itemscope itemtype="http://schema.org/Article">

<!-- Place this data between the <head> tags of your website -->
<title>Page Title. Maximum length 60-70 characters</title>
<meta name="description" content="Page description. No longer than 155 characters." />

<!-- Schema.org markup for Google+ -->
<meta itemprop="name" content="The Name or Title Here">
<meta itemprop="description" content="This is the page description">
<meta itemprop="image" content="http://www.example.com/image.jpg">

<!-- Twitter Card data -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" …
Run Code Online (Sandbox Code Playgroud)

html metadata

0
推荐指数
1
解决办法
2212
查看次数

标签 统计

html ×1

metadata ×1