站内搜索:
首页 >> 前端 >> 内容
dl、dd、dt三个标签的定义及用法介绍

时间:2018/4/26 13:54:59

定义和用法

<dl> 标签定义了定义列表(definition list)。

<dl> 标签用于结合 <dt> ( 标签定义一个描述列表的项目/名字)和 <dd> (标签被用来对一个描述列表中的项目/名字进行描述)。

You can use this element to represent key-value pairs semantically and couple it with other elements like <details> and <aside> to give context to this information.

Where do you see yourself using <dl> in HTML5? Perhaps details about a downloadable file? Or are you going to give your more technical blog articles a glossary? Let us know in the comments!

单条/多条术语 与 单条/多条描述

在<p>元素中包装名称值组

  • 上一篇:关于HTML语义化的介绍
  • 下一篇:执行环境和作用域,链垃圾回收和块级作用域实例讲解
  • 返回顶部