Welcome to WebmasterWorld Guest from 54.196.214.35

Forum Moderators: brotherhood of lan & mack

Message Too Old, No Replies

Poetry

How should I use elements for Poems?

     
5:49 pm on Sep 26, 2008 (gmt 0)

Junior Member

10+ Year Member

joined:Aug 21, 2003
posts:74
votes: 0


I've been trying to figure out a BEST way to set up elements for Poetry i.e.:


<h2>Title of Poem</h2>
<pre>
To be or not to be,
Whatever that is said?
</pre>

or


<h2>Title of Poem</h2>
<p>To be or not to be,<br>
Whatever that is said?</p>

or


<dl>
<dt>Title of Poem</dt>
<dd>To be or not to be,<br>
Whatever that is said?</dd>
</dl>

or.... any experience to share or suggestions?

2:55 am on Sept 27, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Nov 3, 2005
posts:1585
votes: 0


Maybe

<h2>Title of Poem</h2>
<ul style="list-style:none" >
<li>To be or not to be,</li>
<li>Whatever that is said?</li>
</ul>

or better still with style done in css.

8:29 am on Sept 27, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member piatkow is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month

joined:Apr 5, 2006
posts:3284
votes: 12


This seems to me to be that the PRE tag was designed for.
9:10 am on Sept 27, 2008 (gmt 0)

Senior Member from MY 

WebmasterWorld Senior Member vincevincevince is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Apr 1, 2003
posts:4847
votes: 0


Whist this may be what the PRE tag is for; it is implemented universally with a mono-spacing. This is usually not what the poet had in mind as most publishers use proportionally spacing. A real shame.
8:15 pm on Oct 8, 2008 (gmt 0)

Junior Member

10+ Year Member

joined:Aug 21, 2003
posts: 74
votes: 0


Ok, I will use PRE tag, what about title? h2 or <strong> or whatever that might be?
8:45 pm on Oct 8, 2008 (gmt 0)

Senior Member

joined:Jan 27, 2003
posts:2534
votes: 0


An <h1> is most suitable if it's the poem title.

Personally, I use paragraphs for poetry - I don't think it is pre-formatted text. The proposed HTML5 spec mentions this explicitly for paragraphs:

[whatwg.org...]