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

How to customize a list in HTML

(*-*)浩
Release: 2019-12-13 15:12:54
Original
6453 people have browsed it

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

tag. (Recommended learning: html tutorial )

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

.

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

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!

Related labels:
source:php.cn
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