VOOZH about

URL: https://www.geeksforgeeks.org/html/html-u-tag/

⇱ HTML u Tag - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

HTML u Tag

Last Updated : 21 Nov, 2024

The HTML <u> tag is traditionally used to underline text. It signifies text that should appear distinct from the surrounding content, such as misspelled words or specific names in various languages. However, in contemporary web design, it is mainly used for stylistic purposes to draw attention to certain text.

Note: the <u> tag is part of HTML4.1, it has been deprecated in HTML5. Instead, CSS should be used to achieve underlined text.

Using CSS to Underline Text

Comment
Article Tags: