PUBLISHED ON: FEBRUARY 23, 2021
HTML u(underline) Tag
In HTML, the <u>
tag stands for Unarticulated Annotation Element.
-
The <u>
tag is used to represent a text that is different from the normal text in style. This text can include misspelled words or any plural noun in Chinese.
-
It is recommended to not use <u>
tag for simply underlining the text in a presentation or to denote any title of the book.
-
Non-textual annotations are created using <u>
tag.
HTML <u>
Tag Syntax and Usage
The <u>
tag requires the start(opening) tag and end(closing) tag.
Given below is the syntax for the same:
<u>
.....
</u>
HTML <u>
Tag Basic Example
Below we have a basic example of <u>
tag:
HTML <u>
Tag Attributes
The <u>
tag does not have any specific attributes though it supports both global and event attributes.
Default CSS Settings for HTML<u>
Tag
Given below are the default CSS settings used by most of the browsers:
u {
text-decoration: underline;
}
Browser Support for HTML<u>
Tag
Following browsers support this attribute:
-
Google Chrome 6.0+
-
Internet Explorer 9.0+
-
Firefox 4+
-
Opera 11.1+
-
Safari 5.0+