CSS Reset label default style:
recommendation : As far as possible handwriting code, can effectively improve the learning efficiency and depth.
By default, many tags have their own properties, such as body with margin, UL has its own padding, h1-h6 font size are the same, Li front with small circles and so on. These default properties bring a lot of trouble to the actual layout, and we can reset the default properties from the beginning of the style sheet. Examples are as follows:
<!DOCTYPE HTML><HTML><Head><MetaCharSet= "Utf-8"><Metaname= "Author"content= "http://www.softwhy.com/" /><title>Ant Tribe</title><styletype= "Text/css">body, UL, Li, H1, H2, H3, H4, H5, H6, p{margin:0px;padding:0px;List-style:None;font-size:12px;Font-weight:Normal;}</style></Head><Body><H1>Title One</H1><H2>Title II</H2><H3>Title III</H3><h4>Title IV</h4><h5>Title Five</h5><h6>Title VI</h6><ul> <Li>List item One</Li> <Li>List item Two</Li></ul><P>I was a paragraph</P></Body></HTML>
The original address is: http://www.softwhy.com/forum.php?mod=viewthread&tid=4736
For more information, refer to: http://www.softwhy.com/divcss/
CSS Reset label default style