Home Français A propos Contact rss
WordPress from the beginning
Sharing some discoveries about WordPress
 

Adding carriage returns when editing

An immaculate copy relies on paragraph repartition: length is important, but also spacing which must be in line with font and, above all, consistent.Depending on which editor you are using, it can be tiresome to get this spacing consistency: should there be one "enter" or a couple?Let's see in the following article how to get satisfying results using WordPress' editor…

When adding a carriage return using the “enter” key in VISUAL mode…

You go to the next paragraph, the <p> tag in html. When you do a carriage return typing the “shift+enter” at the same time…
you do a carriage return within the paragraph, the <br/> tag in html. These actions are similar in other word processors such as Word…

But if you edit in HTML, you won’t see those tags! You’ll just notice a feed line between two paragraphs

When you type “enter” in HTML mode,
you do a <br> in html. And when you type twice the “enter” key in HTML mode…

You obtain a new paragraph.

Apparently, Wordpress’ editor doesn’t accept those tags… And that’s good! It makes life simpler as carriage returns generally mess up our work, never being where we had intended them to be!

Spread this post over the world!

Share/Bookmark

How did you like this post?

Please don't go without leaving a mark!
2 vote(s) 1 Etoile2 Etoiles3 Etoiles4 Etoiles5 Etoiles Loading ... Loading ...

Top
Choisissez vos widgets

About this post

  • About this weblog

    "WordPress From the beginning" is written by a French web developer and teacher currently based in Switzerland.

    Originally planned in french, both blog and its functions were developped in this language. This explains why not all functions are available in the English version.

    However, new translated articles are regularly posted for use by the wordpress' web community.

Wordpress from the beginning is a production of Woodymood
Performance Optimization WordPress Plugins by W3 EDGE