About Empty Paragraphs within Content Editable Elements

To make empty paragraphs visible within contenteditable nodes, add <br /> tags inside:

1
2
3
4
<div contenteditable="true">
<h1>My Motto</h1>
<p><br /></p>
</div>

Tips and Tricks Development HTML5