Home >Web Front-end >HTML Tutorial >How can we add defined terms in HTML?

How can we add defined terms in HTML?

WBOY
WBOYforward
2023-08-25 13:05:061152browse

How can we add defined terms 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

tag to define the beginning of a term in a definition list.

Example

You can try running the following code to add defined terms 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>

The above is the detailed content of How can we add defined terms in HTML?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:tutorialspoint.com. If there is any infringement, please contact admin@php.cn delete