Programme I
HTML, body, Div, Span,applet, object, IFRAME, table, caption,
Tbody, TFOOT, THEAD, Tr,th, TD, Del, DFN, EM, Font, IMG, INS,
KBD, Q, S, Samp, Small,strike, strong, Sub, SUP, TT, VAR,
H1, H2, H3, H4, H5, H6,p, blockquote, Pre, A, abbr,
Acronym, address, Big,cite, code, DL, DT, DD, OL, UL, Li,
FieldSet, form, label,legend {
Vertical-align:baselinebaseline;
Font-family:inherit;
Font-weight:inherit;
Font-style:inherit;
font-size:100%;
outline:0;
padding:0;
margin:0;
border:0;
}
: Focus {
outline:0;
}
Body {
Background:white;
Line-height:1;
Color:black;
}
OL, UL {
List-style:none;
}
Table {
Border-collapse:separate;
border-spacing:0;
}
caption, Th, TD {
Font-weight:normal;
Text-align:left;
}
Blockquote:before,blockquote:after, Q:before, Q:after {
Content: "";
}
BLOCKQUOTE, Q {
Quotes: "" ";
}
Scenario Two: Yahoo's (YUI) CSS Reset
Body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,
form,fieldset,input,textarea,p,blockquote,th,td{
padding:0;
margin:0;
}
Table {
Border-collapse:collapse;
border-spacing:0;
}
fieldset,img {
border:0;
}
address,caption,cite,code,dfn,em,strong,th,var{
Font-weight:normal;
Font-style:normal;
}
Ol,ul {
List-style:none;
}
caption,th {
Text-align:left;
}
H1,h2,h3,h4,h5,h6 {
Font-weight:normal;
font-size:100%;
}
Q:before,q:after {
Content: ";
}
abbr,acronym {
border:0;
}
Programme III
HTML, body, Div, span, applet, object, IFRAME, H1, H2, H3, H4, H5, H6, p, blockquote, Pre, A, ABBR, acronym, address, Big, cite, code
, Del, DFN, EM, img, INS, KBD, Q, S, Samp, small, strike, strong, sub, SUP, TT, VAR, b, U, I, center, DL, DT, DD, OL, UL, Li, FieldSet, form, label, legend, table, Caption, Tbody, TFOOT, THEAD, tr, TH, TD, Article, aside, canvas, details, embed , figure, Figcaption, footer, Header, Hgroup, menu, nav, output, ruby, section, Summary, time, mark, audio, video{
margin:0;
padding:0;
border:0;
font-size:100%;
Font:inherit;
Vertical-align:baseline;
Outline:none;
}
html{
height:101%;/* Always show scroll bars */
}
body{
font-size:62.5%;
Line-height:1;
Font-family:arial, Tahoma, Verdana, Sans-serif;
}
Article, aside, details, figcaption, figure, Footer, Header, Hgroup, menu, NAV, section{
Display:block;
}
img{
border:0;
max-width:100%;
}
a{
Text-decoration:none;
}
a:hover{
Text-decoration:underline;
}
OL, ul{
List-style:none;
}
BLOCKQUOTE, q{
Quotes:none;
}
Blockquote:before, Blockquote:after, Q:before, q:after{
Content: "";
Content:none;
}
strong{
Font-weight:bold;
}
input{
Outline:none;
}
table{
Border-collapse:collapse;
border-spacing:0;
}
Three kinds of CSS global reset scheme