lines
The lines element contains text where line breaks are significant but white space is not. It can be used to represent dialogs, poetry, or other text fragments where line breaks are significant. The lines element is similar to pre in that line breaks are preserved, but the font style is not typically set to monospace, and extra spaces inside the lines are not preserved.
Content models
See appendix for information about this element in OASIS document type shells.
Inheritance
- topic/lines
Example 73. Example
This is a sample of my favorite sonnet.
<lines>
Shall I compare thee to a summer's day?
Thou art more lovely and more temperate:
Rough winds do shake the darling buds of May,
and summer's lease hath all too short a date:
...</lines>
Though exact formatting will vary, the previous sample will typically be rendered as follows.
This is a sample of my favorite sonnet
Shall I compare thee to a summer's day?
Thou art more lovely and more temperate:
Rough winds do shake the darling buds of May,
and summer's lease hath all too short a date:
...
Attributes
Parent topic