
- HTML Tutorial
- HTML - Home
- HTML - Overview
- HTML - Basic Tags
- HTML - Elements
- HTML - Attributes
- HTML - Formatting
- HTML - Phrase Tags
- HTML - Meta Tags
- HTML - Comments
- HTML - Images
- HTML - Tables
- HTML - Lists
- HTML - Text Links
- HTML - Image Links
- HTML - Email Links
- HTML - Frames
- HTML - Iframes
- HTML - Blocks
- HTML - Backgrounds
- HTML - Colors
- HTML - Fonts
- HTML - Forms
- HTML - Embed Multimedia
- HTML - Marquees
- HTML - Header
- HTML - Style Sheet
- HTML - Javascript
- HTML - Layouts
- HTML References
- HTML - Tags Reference
- HTML - Attributes Reference
- HTML - Events Reference
- HTML - Fonts Reference
- HTML - ASCII Codes
- ASCII Table Lookup
- HTML - Color Names
- HTML - Entities
- HTML - Fonts Ref
- HTML - Events Ref
- MIME Media Types
- HTML - URL Encoding
- Language ISO Codes
- HTML - Character Encodings
- HTML - Deprecated Tags
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>
- Related Articles
- How do we add document title in HTML?
- How do we add bold text in HTML?
- How do we add a definition term 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 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 sample computer code in HTML?
- How do we add a push button to HTML?
- How do we add the width in characters for in HTML?
- How do we add a single-line input field in HTML?
- How do we add the maximum number of characters allowed in an element in HTML?
- How do we set text font in HTML?
- How do we display inserted text in HTML?

Advertisements