Content · Web Development · HTML

HTML Poetry and Song Text Markup: Meaningful Line Breaks

Poetry sometimes needs line breaks that are part of the work. Br is appropriate when each line should remain distinct inside one stanza.

1 views Published Oct 19, 2026 Updated Oct 19, 2026 Admin

Poetry sometimes needs line breaks that are part of the work. Br is appropriate when each line should remain distinct inside one stanza.

What You Need to Know


Use separate paragraphs for different stanzas or ideas. Do not use br to create large margins; CSS handles layout spacing.

Example: See It in Action


Take a look at this small piece of HTML. You can use it in a practice document and change the text to make it your own.

This is a short HTML fragment. To try it as a webpage, put it inside the body element of a complete HTML document.

<article>
    <h1>Morning Poem</h1>
    <p>Sunlight fills the sky<br>Birds are waking up<br>Another day begins</p>
</article>

Let’s Understand the Example


  • Article marks a piece that could make sense on its own, such as a news post or recipe.
  • An h1 introduces the main subject of the page. Use the heading level for structure rather than font size.
  • A p groups a paragraph of related text. Start another paragraph for a new thought.

You should see a readable heading and its related content. The heading level tells readers how the ideas fit together, not merely how large the letters look.

What Should You See?


The page should display “Morning Poem” as a heading, followed by its related content. Change the heading text and refresh the browser to see the result.

Read only the headings, from top to bottom. Do they tell a sensible story? If not, move sections or choose levels that match the content.

Try It Yourself


  1. Add a second stanza with meaningful line breaks.
  2. Save your changes, open or refresh the page, and compare the result with the original example.
  3. Tell a friend what your change did. If you are not sure, undo it, refresh the page, and compare.

Common Beginner Mistakes


  • Writing poem lines as one paragraph with only spaces between them.
  • Avoid picking tags just for their default bold, italic or spaced appearance. Use CSS for presentation.

Key Takeaways


  • Poetry sometimes needs line breaks that are part of the work.
  • Article marks a piece that could make sense on its own, such as a news post or recipe.
  • Use separate paragraphs for different stanzas or ideas. Do not use br to create large margins; CSS handles layout spacing.
Share this resourceSend this page to someone who may find it useful.