Lines are lines of text where white space is significant. The <lines> element can be used to represent dialogs, poetry, or other text fragments where line breaks are significant.

Rendering expectations

Processors SHOULD preserve the line breaks and spaces that are present in the content of a <lines> element.

The contents of the <lines> element is typically rendered in a non-monospaced font.

Content model

(Text | <cite> | <include> | <keyword> | <ph> | <strong> | <em> | <b> | <i> | <line-through> | <overline> | <sup> | <sub> | <tt> | <u> | <q> | <term> | <text> | <tm> | <xref> | <state> | <data> | <sort-as> | <foreign> | <unknown> | <draft-comment> | <fn> | <indexterm> | <required-cleanup> )*


The following attributes are available on this element: display attributes, universal attributes, and @xml:space.


In the following code sample, a <lines> element contains the text of [Buffalo Bill 's], a poem by e. e. cummings:

<lines>Buffalo Bill ’s
               who used to
               ride a watersmooth-silver
and break onetwothreefourfive pigeonsjustlikethat

he was a handsome man 
                                                  and what i want to know is
how do you like your blue-eyed boy
Mister Death</lines>