css三种引入的方式
一、三种方式的书写规范
1.行间式
html
<div style="width:100px;height:100px;background-color:red;></div>
2.内联式
html
<head>
<style>
div{
width:100px;
height:100px;
background-color:red;
扫描二维码关注公众号,回复:
4384167 查看本文章
}
</style>
</head>
3、外联式
```css
file: zero.css
div {
width: 100px;
height: 100px;
background-color: red;
}
```
```css
file: zero.html
<head>
<link rel="stylesheet" type="text/css" href="css/zero.css" />