HTML <dt> tag
HTML <dt> tag : Definition
• The HTML <dt> tag is used to define the start of a term of a definition list.
• A definition list is similar to other lists but, in each list item contains two entries that are a term and a description
<dt> tag example :
<!DOCTYPE html> <html> <body> <h1>The dt, dd, and dt elements</h1> <p>These three elements are used to create a description list:</p> <dl> <dt>Java</dt> <dd>Java is programming language and platform independent.</dd> <dt>Python</dt> <dd>Python is also a programming language and object oriented.</dd> </dl> </body> </html>
OUTPUT :
The dl, dd, and dt elements
These three elements are used to create a description list:
- Java
- Java is programming language and platform independent.
- Python
- Python is also a programming language and object oriented.