...
...
...
标签。标签的主要作用:预格式化的文本。被包围在 pre 元素中的文本通常会保留空格和换行符。如果用以前的方法,回车需要输入
签,空格需要输入 。
注意:标签不只是为显示计算机的源代码时用的,在你需要在网页中预显示格式时都可以使用它,只是标签的一个常见应用就是用来展示计算机的源代码。
三,认识标签(第二部分)
3-1
1,无序列表
ul-li是没有前后顺序的信息列表。
语法:
- 信息
- 信息 ......
- 精彩少年
- 美丽突然出现
- 触动心灵的旋律
- 信息
- 信息
......
- 前端开发面试心法
- 零基础学习html
- JavaScript全攻略
p{
font-size:12px;
color:red;
font-weight:bold;
}p{font-size:12px;
line-height
:1.6em;}.stress{
color:red;
}
.bigsize{
font-size:25px;
}#stressid{
color:red;
}
#bigsizeid{
font-size:25px;
}* {color:red;}a:hover
{color:red;}h1{color:red;}
span{color:red;}p{color:red;}
p{color:green;}body{
font-family
:"宋体";}p a{
font-style
:italic;}p a{
text-decoration
:underline;}p a{text-decoration:line-through;}p{
text-indent
:2em;}p{
border:2px solid red;
}p{
border-width
:2px;
border-style
:solid;
border-color
:red;
}border-top :1px solid red; border-right :1px solid red; border-left :1px solid red;
p{
margin-top
:20px;
margin-right
:10px;
margin-bottom
:15px;
margin-left
:30px;
}p{
padding-top
:20px;
padding-right
:10px;
padding-bottom
:15px;
padding-left
:30px;
}p{
width:200px;
height:200px;
border:2px red solid;
position:absolute;
left:100px;
top:50px;
}#p1{
width:200px;
height:200px;
border:2px red solid;
position:relative;
left:100px;
top:50px;
}#p1{
width:200px;
height:200px;
border:2px red solid;
position:fixed;
left:100px;
top:50px;
}#box1{
width:200px;
height:200px;
position:relative;
}#box2{
position:absolute;
top:20px;
left:30px;
}










