How to output Html paragraph as coded

Advise needed,
In Javascript, we have template literal for outputting our code as we typed in editor.
I wanted to know if there is something similar in HTML because to make text inside the <p> tag look good am putting in so many <br/> tags.

Just wanted to know if there is something similar or any tags for this so i can achieve similar result without numerous line break tags.

Thanks for reading.

maybe put each paragraph in its own p element?
In this way you can use CSS to style your page


I have edited your post to make the tags visible: you need to put a backtick before and after. (this is a backtick: ` )