Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9273575
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T16:09:02+00:00 2026-06-18T16:09:02+00:00

What to use for poem? pre blockquote code something else?

  • 0

What to use for poem?

  • pre
  • blockquote
  • code
  • something else?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T16:09:03+00:00Added an answer on June 18, 2026 at 4:09 pm

    Don’t use code (unless computer code is part of the poem). Don’t use blockquote (unless you quote a poem).

    white space / line breaks: pre or br

    You may use the pre element. The spec gives an (informative) example:

    The following shows a contemporary poem that uses the pre element to preserve its unusual formatting, which forms an intrinsic part of the poem itself.

    <pre>                maxling
    
    it is with a          heart
                   heavy
    
    that i admit loss of a feline
            so           loved
    
    a friend lost to the
            unknown
                                    (night)
    
    ~cdr 11dec07</pre>
    

    However, I’d only use the pre element if the poem contains “more” than just meaningful line breaks (e.g. in this example the horizontal whitespace is meaningful).

    If you have a simple poem, I’d go with the br element:

    br elements must be used only for line breaks that are actually part of the content, as in poems or addresses.

    container: p

    For most poems, the p element is the right candidate (or several p elements, of course). The spec has an (informative) example:

    <p>There was once an example from Femley,<br>
    Whose markup was of dubious quality.<br>
    The validator complained,<br>
    So the author was pained,<br>
    To move the error from the markup to the rhyming.</p>
    

    Also:

    For instance, an address is also a paragraph, as is a part of a form, a byline, or a stanza in a poem.

    structure: (article, figure)

    Depending on the context (content, page structure, …), a sectioning element might be appropriate (article in most cases).

    Also depending on the context, the figure element might be appropriate:

    Here, a part of a poem is marked up using figure.

    <figure>
     <p>'Twas brillig, and the slithy toves<br>
     Did gyre and gimble in the wabe;<br>
     All mimsy were the borogoves,<br>
     And the mome raths outgrabe.</p>
     <figcaption><cite>Jabberwocky</cite> (first verse). Lewis Carroll, 1832-98</figcaption>
    </figure>
    

    But don’t use these in general for all poems, it really depends on the page if their use is correct.

    misc. & trivia

    • someone proposed a poetry element (→ Rejected)
    • someone proposed a microformat for poems
    • discussion in the w3.org wiki: Explicit Markup to Semantically Express Poetic Forms (thanks for the link, steveax)
      • see also: on the mailing list
    • similar question on Webmasters SE: How to mark up a poem in HTML for SEO
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hi everyone i want build a poem application so i want use to NavigationControlle
Use case example: Client A comes to request sales information, enters their zip code
Use case: I find a piece of code that I do not understand at
Use case: user types something like: AA1234↵ - i want the browser to directly
use case is simple: I want to run some boiler plate code before each
Use case is this: I want to unit test (in browser, QUnit or something
This code works in IDLE but not in the commandline. Why the difference? poem
Use case: A does something on his box and gots stuck. He asks B
Use Case Show a photo uploaded by the user in a square box with
use C#,want to upload excel file on google doc. bellow syntax use to upload

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.