![Trending Articles on Technical and Non Technical topics](/images/trending_categories.jpeg)
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- 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 glossary definitions in HTML?
Use the <dl> tag in HTML to add the glossary definitions. The HTML <dl> tag is used for declaring a definition list. This tag is used within <dd> tag.
A definition list is similar to other lists but in a definition list, each list item contains two entries; a term and a description.
Example
You can try to run the following code to implement <dl> tag −
<!DOCTYPE html> <html> <head> <title>HTML dl Tag</title> </head> <body> <dl> <dt>Definition List</dt> <dd>A list of terms and their definitions/descriptions.</dd> <dt>HTML</dt> <dd>An HTML tutorial.</dd> <dt>PHP</dt> <dd>An PHP tutorial.</dd> </dl> </body> </html>
Advertisements