<link rel="stylesheet" type="text/css" href="style/style.css"/>里面的rel的属性是什么含义?请各位高手指点

解决方案 »

  1.   

    rel: indicates the type of linkin this case, a link to a style sheet.type: lets the browser know what kind of data to expecta text file, containing CSS.href: points to the location of the external CSS file on the site. The value of this property is an URL, and works the same as the src attribute you use when adding an image to a page, or the href attribute of a link pointing to another page.
    告诉浏览器采用的是一个样式表文件
      

  2.   

      rel属性   注释:rel属性,描述了当前页面与href所指定文档的关系.   rel属性通常出现在a,link标签中 属性值   alternate -- 定义交替出现的链接   appendix -- 定义文档的附加信息   book -- 书签   chapter -- 当前文档的章节   contents   copyright -- 当前文档的版权   glossary -- 词汇   help -- 链接帮助信息   index -- 当前文档的索引   next -- 记录文档的下一页.(浏览器可以提前加载此页)   nofollow -- 不被用于计算PageRank   prev -- 记录文档的上一页.(定义浏览器的后退键)   section -- 作为文档的一部分   start -- 通知搜索引擎,文档的开始   stylesheet -- 定义一个外部加载的样式表   subsection -- 作为文档的一小部分