Files
ClassContent/历届学生/front-end-team-10/每天课程/2023-02-05/笔记.txt
2024-09-27 02:06:13 +08:00

22 lines
715 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

div: 主要用来划分网页结构的 90%
span: 用来放文字的(划分网页结构的) 10%
p用来放文字的补充 段落
可以给标签取一个名字,这样好区分众多的标签
标签分类:
男(块标签):独占一行的标签 div p ul ol 可以 设置宽高
女(行标签):不独占一行的标签 span a img i 不可以设置宽高
如何画结构:
1: 网站都分三层(头,中间内容,版权)
2: 如果网站 中间如果有居中的部分那居中部分外面必须套个div
3按照位置来归纳
4按功能来归纳
5当div内部只有一个标签的时候外部的div的作用可以被内部标签替代