### 18.5.3 Using special sections to insert code in extracts

You can assign HTML code (including macros) to the [HtmlStyles]ExtrStart format or ExtrStart marker (whichever you used to designate the start of the extract) to be invoked in the following sections:

[ExtrHead]

; starting format = HTML code for the head of the extract file

[ExtrTop]

; starting format = HTML code for the top of the extract body

[ExtrBottom]

; starting format = HTML code for the bottom of the extract body

These sections correspond to [Inserts] keywords ExtrHead, ExtrTop, and Extrbottom; and to marker types ExtrHead, ExtrTop, and Extrbottom; and are used for the same purposes. A marker type overrides a [Extr*] section of the same name, and an [Extr*] section overrides an [Inserts] keyword of the same name; see §18.5.1 Choosing how to insert code in extracts.

For examples, see §18.7.4 Specifying extracts: an example.

| 18.5.2 Assigning code to [Inserts] keywords for splits and extracts |  | 18.6 Referencing split and extract files |