Home > Web Front-end > HTML Tutorial > 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
Release: 2023-08-27 16:49:06
forward
621 people have browsed it

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>
Copy after login

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!

source:tutorialspoint.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template