今天开始学习html,为了对学习内.容的总结。
1.css的引入方式有下面几种
a行间样式
<div style=" width:100px;"></div>
b.页面级css
在head里面加上一句
<style type="text/css">
div
{
width:100px;
}
</style>
c.外部css引入
在头标签里写如下内容
<link rel="stylesheet" type="text/css" href="lesson3.css">
今天开始学习html,为了对学习内.容的总结。
1.css的引入方式有下面几种
a行间样式
<div style=" width:100px;"></div>
b.页面级css
在head里面加上一句
<style type="text/css">
div
{
width:100px;
}
</style>
c.外部css引入
在头标签里写如下内容
<link rel="stylesheet" type="text/css" href="lesson3.css">