Home  >  Article  >  Web Front-end  >  使用<link>标签引入css文件简单代码实例_html/css_WEB-ITnose

使用<link>标签引入css文件简单代码实例_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:27:511599browse

使用标签引入css文件简单代码实例:
本章节介绍一下如何利用标签引入外部css文件。
虽然这个非常的简单,但是很多初学者比较容易忘记它的基本使用格式。
下面就演示一下如何使用此标签引入外部样式表:
代码如下:

<link rel="stylesheet" type="text/css" href="style.css" />

原文地址是:http://www.softwhy.com/forum.php?mod=viewthread&tid=16451

更多内容可以参阅:http://www.softwhy.com/divcss/

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn