html中怎么引入css文件,网页怎么添加css样式,引入样式

我来纠错
//第一种,引入外部的一个样式文件,在头部<head></head>里引入,比如:
<link rel="stylesheet" type="text/css" href="css/reset.css">
<link rel="stylesheet" type="text/css" href="css/main.css">

//第二种,可以直接在页面里写(不推荐),比如:
<style type=text/css>
div{color:#fff;}
</style>
发送
热门关键词:
命令
知识类型:
标题描述:
详细解答:

提交审核您编辑的知识会经过 前端大牛 人工审核。