August 17, 2024
What is the HTML Underline Tag (<u></u>) and how is it used?
<u></u> tags use to underline the text you want. So with <u></u> tag you can do the same.
Example
<u>Underline Text Example</u>
Output
Underline Text Example
FAQ
1. Is the HTML underline tag supported by modern browsers?
Yes, modern web browsers support the <u> tag. It works in commonly used browsers such as Chrome, Firefox, Safari, and Microsoft Edge.
2. Can I change the color of an underline in HTML?
Yes, you can customize the underline color using CSS. The text-decoration-color property allows you to choose a different color for the underline.