Section 4.20 Program Listings
A
<listing>
is really a specialized type of <figure>
, whose purpose is to hold computer code. Just like a figure, it has a <caption>
and <title>
which behave identically. However, the enclosed planar content is limited to a <program>
or <console>
(see Section 4.16 and Section 4.15).