HTML Tag <TT>

HTML Tag <TT>

<TT> Displays text in a monospace font.

Attribute of <TT> Tag

CLASS

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

Hi my self Dinesh Kumar Maurya.. <P><TT CLASS="dkm">Welcome to cs-tutorial.com</TT>

Possible Values

Any Class Name.



ID

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

<TT ID="dkm">

Possible Values

Any ID Name.



STYLE

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

<TT STYLE="background: red">

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 text within the <TT> tags.

Now, type <TT TITLE="User Typing"> MAIL</TT> and hit the <KBD>ENTER</KBD> key.

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