<b><b/> in the paragraph text | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

<b><b/> in the paragraph text

How can I place "<b>Some text</b>" as a simple text between <p></p> tags? The output of code should be: <b>Some text</b>

6th Feb 2018, 4:38 PM
Amadeus
Amadeus - avatar
4 Answers
+ 4
how does it work? (link to net)
6th Feb 2018, 4:46 PM
Amadeus
Amadeus - avatar
+ 4
@MemphisReigns I don't want to make text bold
6th Feb 2018, 4:49 PM
Amadeus
Amadeus - avatar
+ 1
Just add the b open and closing tags around the words that you want to make bold
6th Feb 2018, 4:46 PM
Memphis Reigns
Memphis Reigns - avatar
0
<p> "< b > Some text < /b > " </p> --> Here you go. This will output as a string. Put some space between <b> element. Here is a link. https://codepen.io/ndungur/pen/paELxb Actually, the text turns bold.
6th Feb 2018, 10:19 PM
Robert Ndungu
Robert Ndungu - avatar