Home  >  Article  >  Web Front-end  >  htmlcss note tag default value style reset css reset_html/css_WEB-ITnose

htmlcss note tag default value style reset css reset_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:47:121605browse

1. tag

has default text decoration: underline,

Removal: text-decoration:none;

  🎜>

Text-decoration attribute value:

None Default. Text that defines the standard.

  underline  Defines a line under the text.

  overline  Define a line on the text.

Line-through defines a line that passes under the text.

  blink   Define blinking text.

    Specifies that the value of the text-decoration attribute should be inherited from the parent element.

2.

      Default list style: list-style:none;

      There are default inner and outer margins: margin:0;padding:0;

       

       
      has default margin: margin:0;

       

      3 .body

      The default body has outer borders,

      Remove: body{margin:0;}

       

      The p tag has upper and lower margins by default, ( The bottom margin will overlap with the top margin of other blocks, and the overlapping margin will be the maximum value of the two)

        Headings h1, h2, h3, h4, h5, h6, all have default margins. Border,

      4. Default text size:

      The text size on the page is different, such as

      tag (H1 tag refers to the emphasis on text titles in web page html A tag. Not used to change the font size! ),
        tags,
        , etc., remove: body{font-size:xpx;}. The minimum text size for Chinese: 12px;

        5. The default font of the page is Song Dynasty.

        font-family;

        6.a The wrapped picture will have an extra border in IE6.

          img{border:none;}

        Summary: