Class Dt<T extends Dt<T>>


public class Dt<T extends Dt<T>> extends PhrasingContentElement<T>
Represents an HTML <dt> element for definition terms.

The Dt (Definition Term) element specifies a term in a description list (Dl). It is typically followed by one or more Dd elements providing descriptions or definitions for the term.

Features:

  • Defines terms in description lists
  • Used within dl (description list) elements
  • Followed by dd (description) elements
  • Can have multiple descriptions per term

Usage:


 Dl dl = new Dl();
 dl.addChild(new Dt("HTML"));
 dl.addChild(new Dd("HyperText Markup Language"));
 
Since:
2007
Version:
1.0
Author:
Marvin P. Warble Jr.
See Also:
  • Constructor Details

    • Dt

      public Dt()
      Constructs an empty <dt> element.
    • Dt

      public Dt(String text)
      Constructs a <dt> element with term text.
      Parameters:
      text - the term or name