Attribute of <TT> Tag
Attribute of <TT> Tag
CLASS
Indicates which style class applies to the <TT> element.
Example: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.
Example:<TT ID="dkm">
Possible Values
Any ID Name.
STYLE
Specifies Style Sheet commands that apply to the contents within the <TT> tags.
Example:<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.
Example:Now, type <TT TITLE="User Typing">
MAIL</TT> and hit the <KBD>ENTER</KBD> key.
Possible Values
Any text message.