W3C home > Mailing lists > Public > w3c-wai-gl@w3.org > January to March 2019

Re: Crowd Source Request: Examples of pre in pages you use.

From: Patrick H. Lauke <redux@splintered.co.uk>
Date: Thu, 31 Jan 2019 00:05:49 +0000
To: w3c-wai-gl@w3.org
Message-ID: <21be8dff-188e-9ff1-449a-5132ee78a2dd@splintered.co.uk>
On 30/01/2019 23:42, John Foliot wrote:
> Two examples when formatted text is important (if not critical):
> 
> Haiku: (a traditional form of Japanese poetry. Haiku poems consist of 3 
> lines. The first and last lines of a Haiku have 5 syllables and the 
> middle line has 7 syllables. The lines rarely rhyme.)
> 
>     The summer river:
>     although there is a bridge, my horse
>     goes through the water.
> 
> Example of a Robert Service 
> <https://en.wikipedia.org/wiki/Robert_W._Service> poem 
> <https://mypoeticside.com/show-classic-poem-26688>: (This poem follows a 
> regular pattern of four-line stanzas composed of two rhyming couplets.)
> 
>     On a Christmas Day we were mushing our way over the Dawson trail.
>     Talk of your cold! through the parka's fold it stabbed like a driven
>     nail.
>     If our eyes we'd close, then the lashes froze till sometimes we
>     couldn't see;
>     It wasn't much fun, but the only one to whimper was Sam McGee.
> 
> 
> In these examples, the formatting of the text also conveys the 
> Pentameter <https://literarydevices.net/pentameter/>of the rhymes/poems. 
> Conveying this literary device is wholly dependent on the formatting of 
> the text:

Is it the formatting here, or is it just the line breaks that are 
important? And is a haiku not semantically better marked up not with a 
<pre> element, but rather with something like a humble <p> with 
appropriate (and meaningful) <br> line breaks?

P
-- 
Patrick H. Lauke

www.splintered.co.uk | https://github.com/patrickhlauke
http://flickr.com/photos/redux/ | http://redux.deviantart.com
twitter: @patrick_h_lauke | skype: patrick_h_lauke
Received on Thursday, 31 January 2019 00:06:13 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 21:08:29 UTC