专注收集记录技术开发学习笔记、技术难点、解决方案
网站信息搜索 >> 请输入关键词:
您当前的位置: 首页 > HTML/CSS

<link rel="stylesheet" type="text/css" href="">中的rel和type是什么作用?如

发布时间:2010-05-20 14:01:29 文章来源:www.iduyao.cn 采编人员:星星草
<link rel="stylesheet" type="text/css" href="">中的rel和type是什么作用?怎么使用?
<link rel= "stylesheet " type= "text/css " href= " "> 中的rel和type是什么作用?怎么使用?例如:
<head>
<link rel= "stylesheet " type= "text/css " href= "mysytle.css ">
</head>
上面的href我知道了

------解决方案--------------------
type指定所连接文档的MIME类型,css的MIME是type/css。
rel设定是指对象和链接目标的关系:

rel可选值, link还可以用Shortcut Icon, offline
Alternate
Substitute version of the file that contains the link.

Appendix
Page that is an appendix for the set of pages.

Bookmark
Bookmark.

Chapter
Page that is a chapter for a set of pages.

Contents
Table of contents document.

Copyright
Copyright notice for the current page.

Glossary
Glossary for the current page.

Help
Help document.

Index
Index document for the current page.

Next
Next document in a sequence.

Offline
href that contains a path to the CDF file to be used for an offline favorite.

Prev
Previous document in a sequence.

Section
Page that is a section for a set of pages.

Shortcut Icon
href that contains a path to an icon file to be used for the favorite or link.

Start
First document of a set.

Stylesheet
Style sheet.

Subsection
Page that is a subsection for a set of pages.
友情提示:
信息收集于互联网,如果您发现错误或造成侵权,请及时通知本站更正或删除,具体联系方式见页面底部联系我们,谢谢。

其他相似内容:

热门推荐: