About ENTER, CTRL+ENTER and SHIFT+ENTER

There are three ways of doing "line feed" in HTML-NOTEPAD:

ENTER – breaks current block into two similar ones:

<p>foo|bar</p>

ENTER in position marked by | will lead to two paragraphs:

<p>foo</p>
<p>bar</p>

CTRL+ENTER – creates sub-paragraph in non-paragraphs: <li>, <td>, etc.

<ol>
  <li>foo|bar</li>
</ol>

CTRL+ENTER in that position will lead to:

<ol>
  <li>foo
    <p>bar</p>
  </li>
</ol>

SHIFT+ENTER — will just insert <br> — soft line break.

And just in case, this is how this post was created:

Leave a Reply

Your email address will not be published. Required fields are marked *