HTML pages default CSS style sheet attribute summary

Related Tags:

  This thing, you need to restore the default values, more useful. 

  * At the beginning of the (margin: 0; padding: 0;), when the need to use the border, need to restore the default html css values. 

  In the past has been to find the documents, in this occasionally see on the w3.    In addition to the definition of inline and block, it is most important to pay attention to body | h1 ~ h6 | blockquote | menu | ul | ol | dd labels such as the default style (font-size and margin). 

  The following is quoted fragment: 
  Html, address, 
  Blockquote, 
  Body, dd, div, 
  Dl, dt, fieldset, form, 
  Frame, frameset, 
  H1, h2, h3, h4, 
  H5, h6, noframes, 
  Ol, p, ul, center, 
  Dir, hr, menu, pre (display: block) 
  Li (display: list-item) 
  head (display: none) 
  Table (display: table) 
  Tr (display: table-row) 
  Thead (display: table-header-group) 
  Tbody (display: table-row-group) 
  Tfoot (display: table-footer-group) 
  Col (display: table-column) 
  Colgroup (display: table-column-group) 
  Td, th (display: table-cell;) 
  Caption (display: table-caption) 
  Th (font-weight: bolder; text-align: center) 
  Caption (text-align: center) 
  Body (margin: 8px; line-height: 1.12) 
  H1 (font-size: 2em; margin: .67 em 0) 
  H2 (font-size: 1.5em; margin: .75 em 0) 
  H3 (font-size: 1.17em; margin: .83 em 0) 
  H4, p, 
  Blockquote, ul, 
  Fieldset, form, 
  Ol, dl, dir, 
  (Margin menu: 1.12em 0) 

  H5 (font-size: .83 em; margin: 1.5em 0) 
  H6 (font-size: .75 em; margin: 1.67em 0) 
  H1, h2, h3, h4, 
  H5, h6, b, 
  Strong (font-weight: bolder) 
  Blockquote (margin-left: 40px; margin-right: 40px) 
  I, cite, em, 
  Var, address (font-style: italic) 
  Pre, tt, code, 
  Kbd, samp (font-family: monospace) 
  Pre (white-space: pre) 
  Button, textarea, 
  Input, object, 
  Select (display: inline-block;) 
  Big (font-size: 1.17em) 
  Small, sub, sup (font-size: .83 em) 
  Sub (vertical-align: sub) 
  Sup (vertical-align: super) 
  Table (border-spacing: 2px;) 
  Thead, tbody, 
  Tfoot (vertical-align: middle) 
  Td, th (vertical-align: inherit) 
  S, strike, del (text-decoration: line-through) 
  Hr (border: 1px inset) 
  Ol, ul, dir, 
  Menu, dd (margin-left: 40px) 
  Ol (list-style-type: decimal) 
  Ol ul, ul ol, 
  Ul ul, ol ol (margin-top: 0; margin-bottom: 0) 
  U, ins (text-decoration: underline) 
  Br: before (content: "\ A") 
  : Before and: after (white-space: pre-line) 

  Center (text-align: center) 
  Abbr, acronym (font-variant: small-caps; letter-spacing: 0.1em) 
  : Link,: visited (text-decoration: underline) 
  : Focus (outline: thin dotted invert) 

  / * Begin bidirectionality settings (do not change) * / 
  BDO [DIR = "ltr"] (direction: ltr; unicode-bidi: bidi-override) 
  BDO [DIR = "rtl"] (direction: rtl; unicode-bidi: bidi-override) 

  * [DIR = "ltr"] (direction: ltr; unicode-bidi: embed) 
  * [DIR = "rtl"] (direction: rtl; unicode-bidi: embed) 

  @ Media print ( 
  H1 (page-break-before: always) 
  H1, h2, h3, 
  H4, h5, h6 (page-break-after: avoid) 
  Ul, ol, dl (page-break-before: avoid) 

Related articles:

Production of affinity with the CSS form
  The form, very common.    But in the web standard establishment of the time, his publishing people are often forgotten, the actual use of headaches when people discovered, of course, I also encountered.    I would now like to introduce a use <fieldset> </ label>...
Any browser shells can be the HTML code advertisement
  Below the code into your html code or the head of the regional body within the region can be!    <SCRIPT Language=javascript>    For (i = 0; i <1; i) (    Document.write ( "<form name=form" i" action=http://www.webjx.com target=_bla...
Do not meet web standards target = "_blank" label
  We should open in a new window link is the normal practice of traditional links behind the increase in the target = "_blank", we have adopted the DOCTYPE transition (xhtml1-transitional. dtd), no problem, but when we use strict DOCTYPE (xhtml1 - strict.dtd), this method will be pass...
Making compulsory effect of the size of fixed form
  Form forcibly fixed size, under normal circumstances, if the increase in text form will be automatically extended, and the script can be fixed form size, there will be more words in the form of rolling, it seems like within the frame, I feel very useful.    "Interactive Colle...
Fireworks types of animation and production explain
  I always think that FW PS powerful than reflected in the two main areas, the first vector graphics editing bitmap editing mode with the perfect integration of two graphics processing is purely functional and GIF animation functions of integration.    As for the use of the software o...