Home  >  Article  >  Web Front-end  >  How to customize a list in HTML

How to customize a list in HTML

(*-*)浩
(*-*)浩Original
2019-12-13 15:12:546349browse

How to customize a list in HTML

Define List

A custom list is not just a list of items, but a combination of items and their comments.

Custom lists start with a 5c69336ffbc20d23018e48b396cdd57a tag. (Recommended learning: html tutorial )

Each custom list item starts with & lt; dt & gt;. The definition of each custom list item begins with 67bc4f89d416b0b8236eaa5f43dee742.

<dl>
<dt>Coffee</dt>
<dd>Black hot drink</dd>
<dt>Milk</dt>
<dd>White cold drink</dd>
</dl>

The browser displays as follows:

Coffee

Black hot drink

Milk

White cold drink

Paragraphs, line breaks, pictures, links, other lists, etc. can be used inside the list items of the defined list.

The above is the detailed content of How to customize a list in HTML. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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
Previous article:HTML