Copyright: Original, welcome to reprint https://blog.csdn.net/weixin_43731793/article/details/91535307
1, text-align: horizontal alignment
h1 {text-align: center}
h2 {text-align: left}
h3 {text-align: right}
2 comments
/*这是个注释*/
3, background-color: Background Color
body
{
background-color:yellow;
}
h1
{
background-color:#00ff00;
}
p
{
background-color:rgb(255,0,255);
}
4, margin-left: Left Margin
p
{
margin-left:2cm;
}