Let's say I have a company address and its name

For example:

Corporate Headquarters
Wonder Widgets, LLC.
555 Tree Lane
Thatcity, Thatstate, 81234

What is the best practice for using line breaks in this scenario?

Should I enclose the whole thing in p tags and break the lines with a br tag? What do you think is a good solution for this?

Thanks in advance for your answers.

1 answer


Wrap it in a p and break with br. Or mark it up using an hCard microformat and make yourself machine popular...


Make it easy for yourself and use the generator: http://microformats.org/code/hcard/creator

something like:

<div id="" class="vcard">
      <div class="org">Wonder Widgets, LLC.</div>
      <div class="adr">
        <div class="street-address">Corporate Headquarters, 555 Tree Lane </div>
        <span class="locality">Thatcity</span>
        <span class="region">Thatstate</span>
        <span class="postal-code">81234</span>


Answered over 6 years ago by Tony Crockford