" and "" tags. The syntax format "" needs to be added. Underlined text"."/> " and "" tags. The syntax format "" needs to be added. Underlined text".">
Home >Web Front-end >Front-end Q&A >What does the u tag mean in html?
In HTML, u means underline. The u tag can be used to underline text. You only need to wrap the text with "" and "" tags. Syntax format "Text that needs to be underlined".
The operating environment of this tutorial: Windows 7 system, CSS3&&HTML5 version, Dell G3 computer.
tag can define underlined text.
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> </head> <body> <p>测试文本!<u>测试文本-带下划线</u>。</p> </body> </html>
Rendering:
Note: If the text is not a hyperlink, do not use underline for it. To prevent users from confusing it as a hyperlink, the underline added to the
tag can be removed using the text-decoration: none;
style. Example:
<p>测试文本!<u style="text-decoration: none;">测试文本-带下划线</u>。</p>
Recommended tutorial: "html video tutorial"
The above is the detailed content of What does the u tag mean in html?. For more information, please follow other related articles on the PHP Chinese website!