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

WBOY
Release: 2016-06-24 11:47:12
Original
1605 people have browsed it

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:

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template