首页
网页制作
网络编程
脚本专栏
数据库
网站运营
网络安全
平面设计
CMS教程
搜索
建站极客
网页制作
HTML/Xhtml
正文
HTML教程,HTML默认样式
所属分类:
网页制作
/
HTML/Xhtml
阅读数: 2072
收藏 0
赞 0
分享
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:
8
px
;
line-height:
1.12
}
h1
{
font-size:
2
em
;
margin:
.67
em
0
}
h2
{
font-size:
1.5
em
;
margin:
.75
em
0
}
h3
{
font-size:
1.17
em
;
margin:
.83
em
0
}
h4
,
p
,
blockquote
,
ul
,
fieldset
,
form
,
ol
,
dl
,
dir
,
menu
{
margin:
1.12
em
0
}
h5
{
font-size:
.83
em
;
margin:
1.5
em
0
}
h6
{
font-size:
.75
em
;
margin:
1.67
em
0
}
h1
,
h2
,
h3
,
h4
,
h5
,
h6
,
b
,
strong
{
font-weight:
bolder
}
blockquote
{
margin-left:
40
px
;
margin-right:
40
px
}
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.17
em
}
small
,
sub
,
sup
{
font-size:
.83
em
}
sub
{
vertical-align:
sub
}
sup
{
vertical-align:
super
}
table
{
border-spacing:
2
px
;
}
thead
,
tbody
,
tfoot
{
vertical-align:
middle
}
td
,
th
{
vertical-align:
inherit
}
s
,
strike
,
del
{
text-decoration:
line-through
}
hr
{
border:
1
px
inset
}
ol
,
ul
,
dir
,
menu
,
dd
{
margin-left:
40
px
}
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
,
:after
{
white-space:
pre-line
}
center
{
text-align:
center
}
abbr
,
acronym
{
font-variant:
small-caps
;
letter-spacing:
0.1
em
}
: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
}
更多精彩内容
其他人还在看
超链接的宽度和高度直接设置不起作用的解决方法
这篇文章主要介绍了超链接的宽度和高度直接设置不起作用的解决方法,需要的朋友可以参考下
评论 0
收藏 0
赞 0
分享
html下拉菜单提交后保留选中值而不返回默认值
这篇文章主要介绍了html下拉菜单提交后如何保留选中值而不返回默认值,方法虽简单,但比较实用,需要的朋友可以参考下
评论 0
收藏 0
赞 0
分享
html用style添加属性示例
这篇文章主要介绍了html用style添加属性的写法,比较实用,有需要的朋友可以参考下
评论 0
收藏 0
赞 0
分享
HTML元素设置焦点的方法
HTML元素设置焦点,大都是采用js的focus方法来进行设置,下面有个示例,大家可以参考下
评论 0
收藏 0
赞 0
分享
html用title属性实现鼠标悬停显示文字
实现鼠标悬停显示文字,html中使用title属性就可实现显示文字的效果,这个属性还是比较实用的,需要的朋友可以参考下
评论 0
收藏 0
赞 0
分享
html 用超链接打开新窗口其可控制窗口属性
这篇文章主要介绍了html如何用超链接打开新窗口其可控制窗口属性,主要使用到js的window.open方法,感兴趣的朋友可以看看哦
评论 0
收藏 0
赞 0
分享
html 可输入下拉菜单的实现方法
可输入下拉菜单,不可思议是不是, 本例通过一些方法实现这个不可能的事情,感兴趣的朋友可以参考下
评论 0
收藏 0
赞 0
分享
a标签href属性与onclick事件使用实例
a标签主要用来实现页面跳转,可以通过href属性实现,也可以在onclick事件里实现,下面为大家简要介绍下其具体的使用
评论 0
收藏 0
赞 0
分享
HTML cellpadding与cellspacing属性图文详解
这篇文章主要介绍了HTML cellpadding与cellspacing属性,有个演示图,相信大家看过之后就知道了,需要的朋友可以参考下
评论 0
收藏 0
赞 0
分享
input输入框中的光标大小显示不一致的解决方法
chrome浏览器对光标高度的设置原则为,当没有内容的时候光标的高度=input的line-height的值,当有内容时,光标从input的顶端到文字的底部
评论 0
收藏 0
赞 0
分享
查看更多
网络赚钱
更多
从世界杯观赛看,“移动视频”就是个伪命题
站长VS微商 你选择哪个?
如何适当提高垃圾站Google
短视频如何赚钱?短视频自媒体实操经验分享(真实)
个人建站赚钱方法有哪些?5种常见方法汇总
草根站长靠什么赚钱?什么样的人能成为赚钱的草根站长?
站长故事
更多
奇幻咔咔3D小熊孟得明 揭秘瞬间火爆网络的背后故事
一问易答:为何小米4/魅族MX4不支持NFC?
草根站长网站运营:运气创业,勤能过日子
从事SEO行业五年:我已经正在慢慢的走向衰亡
创业失败:一个屌丝站长4年互联网的辛酸经历
做站7年