WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Why does hitting the enter key in Visual Editor add <p> instead of <br>?

What I want sometimes is a new line that starts immediately after the previous line. Unfortunately, the visual editor automatically wraps my new line in a <p> tag when all I really want is a <br> tag so that there is no space between the two lines.

How can I solve this without specifically changing my code in the HTML tab?

share|improve this question
up vote 2 down vote accepted

Hit Shift + Enter and you''ll get <br>

share|improve this answer
I'm not really sure why you think that would work. I gave it a shot and all it did was put extra space after each paragraph. This is not what I want. What I want is to have no space after a line break. – jimmykup Oct 9 '11 at 21:57
I get it. Edited the answer. – Alexey Oct 9 '11 at 22:36
Haha, there it is. Well, almost. CTRL + Enter didn't work for me. I gave Shift + Enter a try and that did the trick! – jimmykup Oct 9 '11 at 23:00
of course Shift + Enter. It was my mistake, need some sleep :) – Alexey Oct 9 '11 at 23:02

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.