Title: Span and Paragraph Behavior
Last modified: February 8, 2022

---

# Span and Paragraph Behavior

 *  [beneisenstein](https://wordpress.org/support/users/beneisenstein/)
 * (@beneisenstein)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/span-and-paragraph-behavior/)
 * I have inherited a website that uses SPAN to put a box around something to be
   emphasized in a page. When I use a Paragraph, <P, or a line break, <br, I get
   unexpected behavior. This is in classic mode.
 * If I use a P then the rest of the text seems to get broken out of the SPAN and
   thus outside the box. I am using P to get a double space between text.
 * If I try and use br, then I get a single space. If I use two then WordPress seems
   to interpret that as a P and the text gets broken out of the box.
 * I am not sure if this is theme behavior, WordPress behavior or HTML behavior.
   Can someone explain this? I find the br behavior especially puzzling.
    -  This topic was modified 4 years, 4 months ago by [beneisenstein](https://wordpress.org/support/users/beneisenstein/).
    -  This topic was modified 4 years, 4 months ago by [beneisenstein](https://wordpress.org/support/users/beneisenstein/).
      Reason: Added more info
    -  This topic was modified 4 years, 4 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
      Reason: Moved to Fixing WordPress, this is not an Developing with WordPress
      topic

Viewing 1 replies (of 1 total)

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/span-and-paragraph-behavior/#post-15338590)
 * > I am not sure if this is theme behavior, WordPress behavior or HTML behavior.
 * First off, try asking at your theme’s support so its developers and support community
   can help you with this.

Viewing 1 replies (of 1 total)

The topic ‘Span and Paragraph Behavior’ is closed to new replies.

## Tags

 * [paragraph](https://wordpress.org/support/topic-tag/paragraph/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [t-p](https://wordpress.org/support/users/t-p/)
 * Last activity: [4 years, 4 months ago](https://wordpress.org/support/topic/span-and-paragraph-behavior/#post-15338590)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
