# How to output Html paragraph as coded

**URL:** <https://forum.freecodecamp.org/t/how-to-output-html-paragraph-as-coded/387607>\
**Category:** General\
**Created:** [May 12, 2020, 11:34am UTC](https://forum.freecodecamp.org/t/how-to-output-html-paragraph-as-coded/387607 "2020-05-12T11:34:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kamaljyotwal](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/kamaljyotwal/32/167367_2.png) [@kamaljyotwal](https://forum.freecodecamp.org/u/kamaljyotwal)\
**Post date:** [May 12, 2020, 11:34am UTC](https://forum.freecodecamp.org/t/how-to-output-html-paragraph-as-coded/387607/1 "2020-05-12T11:34:04Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [May 12, 2020, 11:38am UTC](https://forum.freecodecamp.org/t/how-to-output-html-paragraph-as-coded/387607/2 "2020-05-12T11:38:33Z")

</div>

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: ` )

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [June 1, 2021, 6:53pm UTC](https://forum.freecodecamp.org/t/how-to-output-html-paragraph-as-coded/387607/3 "2021-06-01T18:53:56Z")

</div>

Closed on June 1, 2021, 6:53pm UTC


