Home  >  Article  >  Web Front-end  >  In HTML, how do we define the start of a list of terms?

In HTML, how do we define the start of a list of terms?

WBOY
WBOYforward
2023-08-27 16:49:06549browse

In HTML, how do we define the start of a list of terms?

HTML

tag is used to define the starting position of the term in the definition list. 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 running the following code, using the

tag to define the starting position of the terms in the definition list:
<!DOCTYPE html>
<html>
   <head>
      <title>HTML dt Tag</title>
   </head>
   <body>
      <dl>
         <dt>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 In HTML, how do we define the start of a list of terms?. 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