

- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
How do we add a definition term in HTML?
A definition list is similar to other lists but in a definition list, each list item contains two entries; a term and a description. Use the HTML <dt> tag is used to define the start of a term in a definition list.
Example
You can try to run the following code to add a definition term in HTML −
<!DOCTYPE html> <html> <head> <title>HTML dt Tag</title> </head> <body> <dl> <dt>Understanding Definition List</dt> <dd>A list of terms and their definitions/descriptions.</dd> <dt>JAVA</dt> <dd>Tutorial on JAVA Programming Language.</dd> <dt>Android</dt> <dd>Tutorial on Android Operating System.</dd> </dl> </body> </html>
- Related Questions & Answers
- How do we define the start of a term in a definition list in HTML?
- How do we add a comment in HTML code?
- How do we add a noframe section in HTML?
- How do we add a noscript section in HTML?
- How do we add a menu list in HTML?
- How do we add a table row in HTML?
- How do we add a push button to HTML?
- How do we add glossary definitions in HTML?
- How do we add bold text in HTML?
- How do we add document title in HTML?
- How do we add a sample computer code in HTML?
- How do we add a single-line input field in HTML?
- How do we add extra information about an element in HTML?
- How do we display a script in HTML?
- How do we include a table caption in HTML?
Advertisements