当前第2页 返回上一页
第五种:
1 | < hr style = "height:5px;border:none;border-top:5px ridge green;" />
|
第六种:
1 2 | < hr style = "height:10px;border:none;border-top:10px groove skyblue;" />
border-top:10px groove skyblue; groove 上颜色 skyblue 下颜色
|
渐变颜色的分隔线:
1 2 | < hr style = "filter:alpha(opacity=5,finishopacity=100,style=1);height:10px" color = green >
< hr style = "filter:alpha(opacity=100,finishopacity=5,style=1);height:10px" color = blue >
|
中心透明的分隔线:
1 2 | < hr style = "filter:alpha(opacity=0,finishopacity=100,style=2);height:12px" color = orange >
< hr style = "filter:alpha(opacity=0,finishopacity=100,style=3);height:12px" color=#FF00FF>
|
中心不透明的分隔线:
1 2 | < hr style = "filter:alpha(opacity=100,finishopacity=0,style=2);height:15px" color = yellow >
< hr style = "filter:alpha(opacity=100,finishopacity=0,style=3);height:15px" color=#00FFFF>
|
波浪线:
1 | < hr style = "filter:wave(strength=9,freq=2,lightstrength=20,phase=9);height:15px" color = pink width = 95 %>
|
三色线:
1 | < hr style = "border-top: #ff0000 solid; color: #00ff00; border-bottom: #0000ff solid; height: 9px" >
|
虚线:
1 | < hr style = "border-top: 2px dashed; border-bottom: 2px dashed; height: 2px" color = black >
|
竖线:
1 2 3 | < hr style = "height:100px; width:4px" color = orange >
< hr style = "filter:alpha(opacity=100,finishopacity=5,style=2); height:100px; width:5px" color = navy >
< hr style = "filter:alpha(opacity=0,finishopacity=100,style=2);height:100px; width:4px" color = red >
|
HTML 与 XHTML 之间的差异
在 HTML 中,<hr> 标签没有结束标签。
在 XHTML 中,<hr> 必须被正确地关闭,比如 <hr />。
在 HTML 4.01 中,hr 元素的所有呈现属性均不被赞成使用。
在 XHTML 1.0 Strict DTD 中,hr 元素的所有呈现属性均不被支持。
【相关推荐】
html title标签的作用是什么?关于html title标签的详细介绍
html select标签的用法你知道吗?html select标签属性介绍
以上就是html hr标签的属性有哪些?HTML hr标签的样式详解的详细内容,更多文章请关注木庄网络博客!
返回前面的内容
相关阅读 >>
html video方法怎么用
html img标签属性是什么?图像标签img详解
jq怎么替换html内容
html属于什么语言
html如何转换为pdf
html怎么取消有序列表的序号
css是什么含义
html隐藏属性如何使用
css怎么连接到html
html pre标签的作用是什么?html pre标签用法及其属性详解
更多相关阅读请进入《hr》频道 >>
人民邮电出版社
本书对 Vue.js 3 技术细节的分析非常可靠,对于需要深入理解 Vue.js 3 的用户会有很大的帮助。——尤雨溪,Vue.js作者
转载请注明出处:木庄网络博客 » html hr标签的属性有哪些?HTML hr标签的样式详解