HTML <u> Tag
In this tutorial, we will learn about u tag in HTML with the help of examples.
<u> Tag
U tag <u> is used to underline the text.
Note : The <u> tag should not be used because it could be confused for a hyperlink.
Syntax
<u>......... </u>
Example
<!DOCTYPE html>
<html>
<head>
<title>u tag</title>
</head>
<body>
<p>You are using the <u>best website</u> of the internet.</p>
</body>
</html>
Output
You are using the best website of the internet.
Global Attribute
U Tag support all the global attributes of HTML.
Event Attribute
U Tag support all the event attributes of HTML.
Next Tutorial
We hope that this tutorial helped you develop better understanding of the concept of <u> tag in HTML.
Keep Learning : )
In the next tutorial, you'll learn about HTML <ul>
Tag.