1、我们在写标签时,会发现无论是p、h、ul、img、form、button等等这些标签都会有初始自带这的默认样式,一般我们在做真正的项目开发都会把这些全清掉,然后再根据设计师所设计的具体样式进行重新样式设计,
    比如淘宝网的会这样写:

    1. html, body, div, span, applet, object, iframe,
    2. h1, h2, h3, h4, h5, h6, p, blockquote, pre,
    3. a, abbr, acronym, address, big, cite, code,
    4. del, dfn, em, img, ins, kbd, q, s, samp,
    5. small, strike, strong, sub, sup, tt, var,
    6. b, u, i, center,
    7. dl, dt, dd, ol, ul, li,
    8. fieldset, form, label, legend,
    9. table, caption, tbody, tfoot, thead, tr, th, td,
    10. article, aside, canvas, details, embed,
    11. figure, figcaption, footer, header, hgroup,
    12. menu, nav, output, ruby, section, summary,
    13. time, mark, audio, video {
    14. margin: 0;
    15. padding: 0;
    16. }

    京东网的会这样写:

    1. *{
    2. margin: 0;
    3. padding: 0;
    4. }

    当然,两种都可以,*号的代表所有标签更省事,如果按代码量给钱的话你可以选淘宝类型的写法。