双下划线标签? [英] Double underline tag?

查看:62
本文介绍了双下划线标签?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在 HTML 中制作一些双下划线的文本.

I want to make some text double-underlined in HTML.

<h1><u><i> website </i></u></h1>

我在底部有两行而不是一行.是否有特定的标签,或者我必须在 css 中做它?

I have two lines on the bottom instead of one. Is there a certain tag for that or would I have to do it in css?

推荐答案

您可以尝试添加:

h1.dblUnderlined { border-bottom: 3px double; }

注意:宽度必须3px或更大,因为它代表总宽度;不是每个边框的宽度.当您增加测量值时,线条和空间的宽度可能相等,也可能不相等,这取决于定义的测量值被 3 的整除性.余数为 1,并且空间宽度加 1;剩下的 2 将导致每行添加 1.

Note: The width must be 3px or greater because it represents the total width; not the width of each border. As you increase the measurement, the width of the lines and space may or may not be equal based on the divisibility of the defined measurement by 3. A remainder of 1, and 1 is added to the width of the space; a remainder of 2 will result in 1 being added to each line.

这篇关于双下划线标签?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆