How to Remove WordPress Break Tags

How to Remove WordPress Break Tags thumbnail
The "Enter" key creates a new line break.

The HTML tag <BR> represents a line break. By default, a <BR> tag creates a new line without any extra space above or below it. The related <P> tag, or paragraph tag, indicates the start of a new paragraph and correspondingly inserts a blank space before the start of the next line. The WordPress visual editor, which lets you write and edit blog posts without needing to know any HTML code, automatically inserts line break tags whenever you hit "Enter." You can exert more control over the layout of your post by manually removing some <BR> and <P> tags.

Instructions

    • 1

      Log into your WordPress account.

    • 2

      Click "Posts" and click the name of the blog post you want to edit.

    • 3

      Click the "HTML" tab to access the HTML version of the post.

    • 4

      Delete any extra <BR>, <P> </P> or empty blank spaces in the place where you want to remove line breaks.

    • 5

      Click "Preview Changes" to see how the post looks with the line breaks removed. Undo your changes or remove additional line breaks as needed.

    • 6

      Click "Update" to save your changes.

Tips & Warnings

  • Most HTML tags have two parts: an opening tag and a closing tag. For example, the <P> tag starts a new paragraph while the </P> tag ends it. However, the <BR /> tag stands alone, since it represents a blank line. While most Web browsers treat <BR> and <BR /> equally, it's correct to use <BR /> to represent that the line break starts and ends within the same tag.

  •   stands for a non-breaking space. It often appears between <P> and </P> tags to ensure the browser acknowledges each paragraph break.

Related Searches:

Resources

  • Photo Credit NA/Photos.com/Getty Images

Comments

You May Also Like

Related Ads

Featured