s.parameter.term, s.parameter.definition

Table of Contents

Syntax #


Purpose #

A definition list is a list of terms and corresponding definitions.

Here is a sample set of definitions.

IO – Input Output
FIFO – First In First Out
LIFO – Last In First Out
SQL – Structured Query Language
TTY – Teletype

In this example, the terms and definitions are in the same paragraph; you can apply the annotations s.dl.term and s.dl.definition to the appropriate spans. You will also need the annotation p.dl.entry on the entire paragraph to make the set of terms and definitions into a single definition list.

This is what your rule may look like.

Rules for span-level definition list terms and definitions

Your output may look like this.

    <dd>Input Output</dd>
    <dd>First In First Out</dd>
    <dd>Last In First Out</dd>
    <dd>Structured Query Language</dd>