> A question was raised at work today 'How do you mark up a poem'.
It depends on the form, really. For most poetry, I think paragraphs with
line breaks are appropriate. If the poem requires very specific positioning,
pre would be the first option as that doesn't rely on CSS. Finally if all
else fails, divs for verses and paragraphs for lines, with classes to
position them. But that won't degrade gracefully, since CSS is required to
convey core meaning.

There's not much hope for something better in future either. XHTML2 had the
"l" element, which was the "line" element. That would have been useful in
this case. Sadly HTML5 doesn't seem to have anything so simple as a way to
mark up a line of text within a paragraph.


--- <http://weblog.200ok.com.au/>
--- The future has arrived; it's just not
--- evenly distributed. - William Gibson

List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm

Reply via email to