: rel, href

Reference: http://www.w3schools.com/tags/tag_link.asp

<link> Attributes:

Attribute Value Description
charset char_encoding Not supported in HTML5.
Specifies the character encoding of the linked document
href URL Specifies the location of the linked document
hreflang language_code Specifies the language of the text in the linked document
media media_query Specifies on what device the linked document will be displayed
rel alternate
archives
author
bookmark
external
first
help
icon
last
license
next
nofollow
noreferrer
pingback
prefetch
prev
search
sidebar
stylesheet
tag
up
Required. Specifies the relationship between the current document and the linked document
rev reversed relationship Not supported in HTML5.
Specifies the relationship between the linked document and the current document
sizes HeightxWidth
any
Specifies the size of the linked resource. Only for rel="icon"
target _blank
_self
_top
_parent
frame_name
Not supported in HTML5.
Specifies where the linked document is to be loaded
type MIME_type Specifies the MIME type of the linked document
上一篇:html+js(swiper.js)+css左右滑动切换页面效果,适配移动端


下一篇:Drupal commerce 性能优化