Ben Michael Ward is a Web Developer in San Francisco.

This is his website. View the homepage or archives. You can also follow him on Twitter.

Do line breaks really exist?

I’ve been working hard for Uni these last few weeks, but before I run up north for a few days, something has been playing on my mind for a while.

Jo and I had a conversation not long ago about semantic mark-up. Now, having encouraged Jo into all this semantic standards stuff, she’s become quite a purist.

As much as <br> is always used presentationally, I’d always thought, in the back of my mind, that it had a valid use in the construction of paragraphs as well. Jo gave me ‘a look’ at this point of the conversation and pointed out that there was no such thing as a ‘half paragraph’, so what was it?

Following my thought process through, I realised that this concept of using line breaks comes from writing documents in Microsoft Word (press Ctrl+Enter). Since citing Microsoft Word is not the most rock-solid of semantic defences I now agree with Jo.

I do remain curious, though. Can anyone explain why line breaks exist at all? (Especially in Word). Were they just a presentational hack in early word processors?

Of course Jo could be wrong. However, that happens rather rarely in our relationship, and ‘Half Paragraphs’ do seem somewhat silly when you think about it.

Tagged

Posted in

Follow up

5 Responses to “Do line breaks really exist?”

  1. Comment by Elly

    June 3rd, 2005 at 7:37 am

    Actually, there is such a thing as a part-paragraph. If you are writing a conversation, you start a new line, but not a new paragraph, when a new person speaks. I’d have thought this would be a legitimate use of a
    tag.

    There’s also an argument that it can be used for poetry

    Formatting of text predates the wordprocessor.

    §
  2. Comment by Simon Willison

    June 3rd, 2005 at 9:58 pm

    The address part of a letter springs to mind.

    §
  3. Comment by Adam

    June 4th, 2005 at 12:26 pm

    Ctrl+Enter in Microsoft Word is actually a page break, not a line break.

    §
  4. Comment by Paul Watson

    June 14th, 2005 at 11:01 am

    I’ve used it for line breaks in poetry (about the only real semantic use, although Simon Willison’s example of the address part of a letter does make sense too).

    In most other cases it should be replaced by a new paragraph tag – with the top margin set to zero using a CSS class if it needs to ‘look’ like the default browser rendering of a break tag.

    When used for poetry, though, I always wondered if the break tag should be preceded by a space.

    §
  5. Comment by Ben

    June 17th, 2005 at 9:08 am

    Hmm, interesting and very valid ideas. Not being much of a poet, I’d completely overlooked that!

    Before hCard, I’d probably have agreed with it for addresses too, but once that microformat is complete it might be more appropriate (if less intuitive) to describe addresses with multiple elements and hCard classnames.

    Another potential use could be representing guitar tablature (although a

     block strikes me as better, perhaps).
    
    Thanks for the comments, it's all quite thought provoking.
    §