</p> <hr> <h2> This is heading 2 </h2> To do a line break in HTML, use the
tag. For example, say Id like to display an excerpt from the play Fleabag: The Scriptures. The <br> HTML element produces a line break in text (carriage-return). HTML New Line - How to Add a Line Break with the BR Tag angular binding string into separate lines into html. Lorem Ipsum Instead I was constantly getting the
tag escaped out in the output HTML. Line break element. What changes in the formal status of Russia's Baltic Fleet once Sweden joins NATO? Lets take a closer look at this HTML element and how to use it below. We can use the same method by using a element instead of a
. The default style of the pre tag preserves line breaks: Just add this to your styles, this works for me, By this text in