Html entities for new line

In HTML, there are several ways to represent a new line, depending on the context and the desired effect. Here are some common HTML entities for new lines:

  1. <br>: The <br> element is used to insert a line break, which will create a new line in the text. It is often used to separate paragraphs or to create a new line within a paragraph.
  2. &#13;: The &#13; entity represents a carriage return (CR) character, which is often used in combination with the &#10; entity to represent a new line.
  3. &#10;: The &#10; entity represents a line feed (LF) character, which is often used in combination with the &#13; entity to represent a new line.
  4. &#x0A;: The &#x0A; entity represents a line feed (LF) character in hexadecimal notation.
  5. &#x0D;: The &#x0D; entity represents a carriage return (CR) character in hexadecimal notation.

Here are some examples of how these entities can be used:

Note that the &#13; and &#10; entities are often used together to represent a new line, as they are the most common way to represent a new line in HTML. The &#x0A; and &#x0D; entities are less commonly used, but can be useful in certain situations.