Adding carriage returns when editing
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!
Suggestions de lecture
- L'éditeur de texte (0.744)
- Ajouter des boutons à l'éditeur (0.744)
- Tutorial html / css (0.561)
Spread this post over the world!
How did you like this post?
Please don't go without leaving a mark!
French










Reactions