Welcome to WebmasterWorld Guest from 50.17.74.162

Forum Moderators: brotherhood of lan & mack

Message Too Old, No Replies

Poetry

How should I use elements for Poems?

     

LinuxGold

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

10+ Year Member



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?

daveVk

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

WebmasterWorld Senior Member 5+ Year Member



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.

piatkow

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

WebmasterWorld Senior Member piatkow is a WebmasterWorld Top Contributor of All Time 5+ Year Member



This seems to me to be that the PRE tag was designed for.

vincevincevince

9:10 am on Sep 27, 2008 (gmt 0)

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



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.

LinuxGold

8:15 pm on Oct 8, 2008 (gmt 0)

10+ Year Member



Ok, I will use PRE tag, what about title? h2 or <strong> or whatever that might be?

Receptional Andy

8:45 pm on Oct 8, 2008 (gmt 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...]

 

Featured Threads

Hot Threads This Week

Hot Threads This Month