今天学会了什么?
1.常用的HTML
1.1h1-h6标题的使用
<h1>一级标题</h1>
<h2>二级标题</h2>
<h3>三级标题</h3>
<h4>四级标题</h4>
<h5>五级标题</h5>
<h6>六级标题</h6>
1.2 p--段落标签
<p>hello world!</p>
1.3 img 图片标签
<img src="images/timg.jpg" alt="叮当猫"><br>
注:特殊:单标签
scr--标签的属性
功能:指定图片所在的位置
alt--当图片加载不出来,用来描述图片的
1.4 无序列表;列表项
<ul>
<li>小米手机</li>
<li>华为手机</li>
<li>苹果手机</li>
</ul>
注:ul 无序列表; li 列表项
1.5 a 链接标签;href-- 指定你所要访问的网址
<a href="https://www.jianshu.com/">简书</a>
<div>div</div>
1.6dl--定义列表; dt--定义的术语;dd--定义的描述
<dl>
<dt>HTML</dt>
<dd>负责网页的结构</dd>
</dl>
2.css.html

3.css常用选择器
02.png
4.样式重置

5.水平居中

6.盒子模型

网友评论