当前位置: 首页 > 网络学院 > 网页制作基础教程 > HTML > HTML <u>标签
The <u> tag defines underlined text.
<u>标签可定义下横线文字
The u element was deprecated in HTML 4.01.
HTML4.01不推荐使用u元素
The u element is not supported in XHTML 1.0 Strict DTD.
XHTML1.0严密型DTD不支持u元素
Tip: Do not underline text - a user confuses it with a hyperlink!!
提示:文字最好不要有下横线-用户会把它和超级连接混淆起来
代码 | 输出结果 |
---|---|
A new version is <u>now available!</u> | A new version is now available! |
id, class, title, style, dir, lang, xml:lang |
For a full description, go to Standard Attributes.
查看完整的属性
onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeydown, onkeyup |
For a full description, go to Event Attributes.
查看完整的属性