Html new line in text

In HTML, you can create a new line in text using the <br> element, which stands for "break". This element is used to insert a line break in the text, forcing the text to move to the next line.

Here is an example:

<p>This is a paragraph of text.<br>This is another line of text.</p>

In this example, the <br> element is used to create a new line between the two lines of text.

Alternatively, you can use the <p> element to create a new paragraph, which will also create a new line:

<p>This is a paragraph of text.</p>
<p>This is another paragraph of text.</p>

In this example, the <p> element is used to create a new paragraph, which will create a new line and indent the text.

You can also use the &#13; or &#10; entities to create a new line, but these are not as widely supported as the <br> element:

<p>This is a paragraph of text.&#13;This is another line of text.</p>

It's worth noting that the <br> element is not a block-level element, it's an inline element, so it won't create a new block of text, but rather just a new line within the current block of text.

It's also important to note that the <br> element should not be used to create multiple spaces between lines of text, as it can cause issues with the layout and formatting of the text. Instead, you can use CSS to create spacing between lines of text using the margin-bottom property.