HTML Tag <DT>

HTML Tag <DT>

<DT> Contains the terms inside a definition list. Place the <DT> tags inside <DL> tags.

Attribute of <DT> Tag

CLASS

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

<DL> <DT CLASS="dkm">CUL8R <DD>See You Later </DL>

Possible Values

Any Class Name.



ID

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

<DL> <DT ID="dkm">Caffeine <DD>Avoid caffeine during the stress management course. </DL>

Possible Values

Any ID Name.



STYLE

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

<DT 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 definition term.

<DT TITLE="Term">Programmer</DT> <DD>A method for converting coffee into applications.

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