homepage Welcome to WebmasterWorld Guest from 54.161.191.254
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / WebmasterWorld / New To Web Development
Forum Library, Charter, Moderators: brotherhood of lan & mack

New To Web Development Forum

    
Poetry
How should I use elements for Poems?
LinuxGold




msg:3752874
 5:49 pm on Sep 26, 2008 (gmt 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?

 

daveVk




msg:3753185
 2:55 am on Sep 27, 2008 (gmt 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.

piatkow




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

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

vincevincevince




msg:3753298
 9:10 am on Sep 27, 2008 (gmt 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.

LinuxGold




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

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

Receptional Andy




msg:3761555
 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...]

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / New To Web Development
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved