HTML Tag <U>

HTML Tag <U>

<U> Underlines text in a document. Use this tag with moderation since underlined text can confuse visitors accustomed to seeing hyperlinks as underlined text.

Attribute of <U> Tag

CLASS

Indicates which style class applies to the <U> element.

It is A complete <U CLASS="dkm">Tutorial</U> website .

Possible Values

Any Class Name.



ID

Assigns a unique ID selector to an instance of the <U> tag. When you then assign a style to that ID selector, it affects only that one instance of the <U> tag.

<U ID="dkm">

Possible Values

Any ID Name.



STYLE

Specifies Style Sheet commands that apply to the contents within the <U> tags.

<U STYLE="background: red">Welcome to Tutorial website. </U>

Possible Values

CSS Property with Value.



TITLE

Specifies text assigned to the tag. You might use this attribute for context-sensitive help within the document. Browsers may use this to show tool tips over the underlined text.

Read the book <U TITLE="BookTitle"> HTML Reference </U> for mastering in HTML.

Possible Values

Any Text Message.




CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad