Current location - Music Encyclopedia - Dating - What are the meanings of dl, dd and dt tags in html, and when do you need them?
What are the meanings of dl, dd and dt tags in html, and when do you need them?
We usually use

& ltdl & gt& lt/dl & gt; Used to create an ordinary list,

& ltdt & gt& lt/dt & gt; Used to create upper-level items in the list,

& ltdd & gt& lt/DD & gt; Use to create that lowest-level item in the list,

& ltdt & gt& lt/dt & gt; and

Here are some examples:

& lthtml & gt

& lthead & gt

& lttitle & gt common list

& lt/head & gt;

& ltbody text = " blue " & gt

& ltdl & gt

& ltdt & gt China City

& ltdd & gt Beijing

& ltdd & gt Shanghai.

& ltdd & gt Guangzhou

& ltdt & gt American cities

& ltdd & gt Washington;

& ltdd & gt Chicago

& ltdd & gt new york;

& lt/dl & gt;

& lt/body & gt;

& lt/html & gt;

We can see this.

I hope my answer is helpful to you!