| 开发者 | kometschuh |
|---|---|
| 更新时间 | 2026年10月22日 20:46 |
| 捐献地址: | 去捐款 |
| PHP版本: | 7.0.0 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPL-2.0-or-later |
| 版权网址: | 版权信息 |
<dl> element with term (<dt>) and description (<dd>) pairs, the markup made for exactly this kind of content and understood by browsers, screen readers and search engines.
Add, insert and delete term and description pairs right in the editor, choose an indent or grid layout and style terms and descriptions separately. Already have a list, a few paragraphs or <dl> HTML? Transform it into a description list with one click, or simply paste the markup.
Tip Top Press
We're Tip Top Press and create Gutenberg blocks for WordPress. If you want to know what we're working on and are interested in the background, you can read all news stories on our blog.
Features
<dt>) and description (<dd>) before selection<dt>) and description (<dd>) after selection<dt>) and description (<dd>) pair/wp-content/plugins/description-list-block directory, or install the plugin through the WordPress plugins screen directly.Add the Description List Block to a post or page, type a term in the first line and its explanation in the second. Use the block toolbar to insert more term and description pairs before or after the selected one. Pick the Grid style to show terms and descriptions side by side.
Yes. The block saves plain semantic HTML: a <dl> with <dt> terms and <dd> descriptions, without wrapper <div>s inside the list. Screen readers announce it as a list of terms, and search engines can tell which description belongs to which term.
Select the block and choose "Description List Block" in the transform menu of the block toolbar. It works with the List block, one or more Paragraph blocks and a Custom HTML block that contains <dl> markup:
<dl> becomes a description list; the HTML around it stays in Custom HTML blocks.<dl> markup into the editor creates a description list directly.
Yes. Choose the block style "Disable Block CSS" and the block no longer adds its own spacing, font and color rules, so the <dl>, <dt> and <dd> styles of your theme apply.
Yes. Enter an HTML anchor under Advanced in the block settings, then link to it with #your-anchor.
Add term and description pairs (<dt>, <dd>) as usual and leave the <dt> element empty.