Date First Published: 24th January 2024
Topic: Web Design & Development
Subtopic: Web Development
Article Type: Computer Terms & Definitions
Difficulty: MediumDifficulty Level: 5/10
Learn about what the HTML <u> tag is in this article.
In HTML, the <u> tag is used to specify a section of text to be underlined. The text is styled differently from normal text to draw attention to it. By default, the text is underlined, but the style can be changed using CSS. This HTML tag is supported by all major web browsers.
This HTML tag was deprecated in HTML 4.01, but in HTML 5, it was redefined to represent text that should be displayed in a way that is different from the surrounding text. For example, the u tag can be used to identify misspelt words and proper names.
Use the <u> tag to draw attention to specific text, not solely for styling purposes. To underline large amounts of text, use CSS.
Avoid using the <u> element where it could be confused for a hyperlink.
Below is an example of the <u> tag.
This is a misspelt word
If so, it is important that you tell me as soon as possible on this page.
Network Services Network Setups Network Standards Network Hardware Network Identifiers Network Software Internet Protocols Internet Organisations Data Transmission Technologies Web Development Web Design Web Advertising Web Applications Web Organisations Web Technologies Web Services SEO Threats To Systems, Data & Information Security Mechanisms & Technologies Computer Hardware Computer Software Ethics & Sustainability Legislation & User Data Protection