`

HTML默认样式

    博客分类:
  • css
阅读更多
html,body,div, h1,h2,h3,h4,h5,h6,p, ol,ul,dl,dt,dd, form,fieldset, blockquote,address,hr,pre { display: block }

input,select { display: inline-block }
li { display: list-item }
head { display: none }
table { display: table }
caption { display: table-caption }
thead { display: table-header-group }
tbody { display: table-row-group }
tfoot { display: table-footer-group }
tr { display: table-row }
col { display: table-column }
colgroup { display: table-column-group }
td, th { display: table-cell }
caption { text-align: center }
th { font-weight: bolder; text-align: center }
body { margin: 8px }
blockquote { margin-left: 40px; margin-right: 40px }
h4,p,blockquote,ul,fieldset,form,ol,dl { margin: 1.12em 0 }
h1 { font-size: 2em; margin: 0.67em 0 }
h2 { font-size: 1.5em; margin: 0.75em 0 }
h3 { font-size: 1.17em; margin: 0.83em 0 }
h5{ font-size: 0.83em; margin: 1.5em 0 }
h6 { font-size: 0.75em; margin: 1.67em 0 }
pre { white-space: pre }
h1,h2,h3,h4,h5,h6,strong { font-weight: bolder }
cite,em,var,address { font-style: italic
pre,code,kbd,samp { font-family: monospace }
button, textarea,table { border-spacing: 2px; }
thead,tbody,tfoot { vertical-align: middle }
td, th { vertical-align: inherit }
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 }
:link, :visited { text-decoration: underline }
分享到:
评论

相关推荐

    关于html内清除样式合集.html

    这里包含了一些html内清除默认样式的写法,当我们给html清除默认样式时有可能会遗漏某些样式,达不到想要的结果,这是最基本的默认样式,还有一些等待持续更新,希望能够帮到大家!

    css 浏览器默认样式清除

    默认样式: -通常情况下,浏览器会给元素设置一些默认样式 -默认样式的存在会影响页面的布局 -通常情况下编写网页时需要去除浏览器的默认样式 重置样式表 :专门用来对浏览器的样式进行重置 reset:直接取消了...

    css 清除默认样式

    清除HTML文档中默认样式,比如*{margin:0;padding:0;}

    html标签默认样式整理

    为大家整理了html标签默认样式属性及浏览器默认样式等等,喜欢css布局的朋友们可以学下,希望对大家有所帮助

    HTML标签默认样式重置文件reset.css

    每一个HTML标签都有它的默认样式,例如标签有上下边距,body自带外边距等等。这些默认样式在不同的浏览器中可能会不一样,这就导致浏览器默认样式会给我们带来很大的麻烦,从而影响开发效率,所以最好的解决方案就是...

    css 清除浏览器默认样式

    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,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,...

    自用的HTML清除CSS浏览器默认样式,包含移动PC,带详细注释说明

    自用了几年的清除默认样式的css文件,包含详细的注释说明,以及一些快捷便利的样式,易看懂。

    HTML标签的默认CSS样式汇总

    HTML标签的默认CSS样式汇总 这样你在编写的时候就可以省掉许多不必要的代码 简化你的css样式

    前端 HTML5/css3 去除默认样式

    去除默认样式

    好用清除html的jquery插件

    非常好用的清除html格式的jquery插件,使用起来也比较方便,可以看下源代码学习下。

    HTML4标签的默认样式列表

    HTML4标签的默认样式,你可以根据它完全修改标签样式,使之成为你希望的样式

    HTML教程,HTML默认样式

    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 {di

    HTML默认样式表CSS属性除了inline和block的定义

    除了inline和block的定义,主要是要注意 body|h1~h6|blockquote|menu|ul|ol|dd等标签的默认样式(margin和font-size)。这个东 西在你需要还原默认值的时候,比较有用。 详见下面的内容: 复制代码代码如下: html,...

    去除样式.css

    html默认样式去除。

    html修改默认单选框样式

    修改默认单选框样式 适用于所有浏览器 包括IE8+ 功能和单选框的功能相同!后台可读取checked属性

    html5中去掉input type date默认样式的方法

    主要介绍了html5中去掉input type date默认样式的方法,本文通过实例代码给大家介绍的非常详细,具有一定的参考借鉴价值,需要的朋友可以参考下

    HTML4.0元素默认样式整理

    HTML4.0元素默认样式想必大家有所不知,本文为了以后使用方便为大家整理了一些,感兴趣的朋友可以参考下,希望对大家有所帮助

Global site tag (gtag.js) - Google Analytics