TheDeveloperBlog.com

Home | Contact Us

C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML

HTML u Tag

HTML u Tag with html tutorial, tags, anchor, img, div, entity, textarea, marquee, p tag, heading tag, h1, h2, table, formatting, attribute, elements, ol, ul, Input Types, block element tag, inline element tag, html tags, phrase tag, head, body, form, lists, symbols etc.

<< Back to HTML

HTML <u> tag

HTML <u> tag is used to define a span of inline text with a non-textual annotation. It rendered as an solid underlined text, but it can be changed using CSS properties. This tag was deprecated in HTML 4.0 and redefined in HTML5.

In HTML5, <u> tag is used to represent the text that is stylistically different with normal text.

Tips: The use of <u> tag should be ignored as it may generate confusion for a hyperlinked text.

Syntax

Following are some specifications about the HTML <u> tag

Display Inline
Start tag/End tag Start and End tag
Usage Formatting

Example

<!DOCTYPE html>
<html>
<head>
<title>HTML u tag</title>
<style>
     u {
    text-decoration: red wavy underline;}
</style>
</head>
<body>
<h2>Example of u tag</h2>
<p>This tag can be useful to identifying <u>spelling mistakes </u>in an document.</p>
</body>
</html>
Test it Now

Output:

HTML u tag

Attribute:

Tag-specific attributes:

The <u> tag does not contain any specific attribute.

Global attribute:

The <u> tag supports the Global attributes in HTML.

Event attribute:

The <u> tag supports the Event attributes in HTML.

Supporting Browsers

Elementchrome browser Chromeie browser IEfirefox browser Firefoxopera browser Operasafari browser Safari
<u>YesYesYesYesYes
Next TopicHTML ul Tag




Related Links:


Related Links

Adjectives Ado Ai Android Angular Antonyms Apache Articles Asp Autocad Automata Aws Azure Basic Binary Bitcoin Blockchain C Cassandra Change Coa Computer Control Cpp Create Creating C-Sharp Cyber Daa Data Dbms Deletion Devops Difference Discrete Es6 Ethical Examples Features Firebase Flutter Fs Git Go Hbase History Hive Hiveql How Html Idioms Insertion Installing Ios Java Joomla Js Kafka Kali Laravel Logical Machine Matlab Matrix Mongodb Mysql One Opencv Oracle Ordering Os Pandas Php Pig Pl Postgresql Powershell Prepositions Program Python React Ruby Scala Selecting Selenium Sentence Seo Sharepoint Software Spellings Spotting Spring Sql Sqlite Sqoop Svn Swift Synonyms Talend Testng Types Uml Unity Vbnet Verbal Webdriver What Wpf