W3C home > Mailing lists > Public > public-html@w3.org > October 2007

Re: 'HTML 5' and some poem markup?

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 5 Oct 2007 17:06:25 +0000 (UTC)
To: "Dr. Olaf Hoffmann" <Dr.O.Hoffmann@gmx.de>
Cc: public-html@w3.org
Message-ID: <Pine.LNX.4.62.0710051655520.4889@hixie.dreamhostps.com>

On Fri, 5 Oct 2007, Dr. Olaf Hoffmann wrote:
> What I missed so many years in (X)HTML is some useful markup for poems.

HTML5 actually defines how to mark up poems in HTML (the word "poem" is in 
the spec half a dozen times, in fact!).


 - the heading of a poem is marked up using <header> and the 
   appropriate level of <hX> elements,

 - the stanzas of poems written in the classical form are given by <p> 
   elements, with line breaks indicated by <br> elements (one of the few 
   allowed uses of <br>).

 - the stanzas of freeform poems are given by <pre> elements.

There is an example of a part of a classical poem in the <img> element 
section (search for "On either side the river lie").

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 5 October 2007 17:06:37 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:27 UTC