Definition lists

Each term in a definition list starts with a dash. Put a := between the term and the definition. If your definition spans multiple lines, end the definition with =:.

Textile example: Definition lists

- HTML := HyperText Markup Language, based on SGML.
- XHTML := HTML 4.0 rewritten to be compliant with XML rules.
- HTML5 := The latest revision of the HTML standard
Still under development =:

Textile input (editable)

Browser output

HTML output


More about: Definition lists

1. The same output can be obtained with the WikiMedia markup style for definition lists:

; HTML
: HyperText Markup Language, based on SGML.
; XHTML
: HTML 4.0 rewritten to be compliant with XML rules.
; HTML5
: The latest revision of the HTML standard.
: Still under development.

2. NOTE: It is not currently possible to use nested bullet lists within definition lists with this PHP Textile implementation:

- HTML5 :=
* The latest revision of the HTML standard
* Still under development =:

Further reading: Definition lists

  1. MDN: The HTML <dl> element
  2. MDN: The HTML <dt> element
  3. MDN: The HTML <dd> element

See something wrong in this page? Outdated info, a broken link, faulty code example, or whatever? Please write an issue and we’ll fix it.