Bootstrap new line
You're looking for a way to add a new line in Bootstrap!
In Bootstrap, you can add a new line using the <br>
tag or the <p>
tag with an empty string.
Here are a few examples:
Using <br>
tag:
<p>This is a paragraph of text.<br>This is a new line.</p>
Using <p>
tag with an empty string:
<p>This is a paragraph of text.</p><p></p>This is a new line.
Using CSS:
You can also use CSS to add a new line using the margin-bottom
property:
<p style="margin-bottom: 20px;">This is a paragraph of text.</p>
In this example, the margin-bottom
property adds a 20px margin below the paragraph, effectively creating a new line.
Note that in Bootstrap, you can also use the .mb-4
class to add a margin bottom to an element, which can also create a new line:
<p class="mb-4">This is a paragraph of text.</p>