Word breaks to the next line not "paragraph" ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Word breaks to the next line not "paragraph" ?

I was just wondering because of the wording in the question.

16th Sep 2017, 2:00 AM
kevoy
kevoy - avatar
4 Answers
+ 1
I am referring to css
16th Sep 2017, 2:46 AM
kevoy
kevoy - avatar
+ 1
word-wrap: break-word; This code in CSS will edit the "text box" so to speak, but it will not create a new paragraph.
16th Sep 2017, 3:17 AM
kevoy
kevoy - avatar
0
I think you are asking about <br /> tag in html.
16th Sep 2017, 2:37 AM
Gaman Tyagi
Gaman Tyagi - avatar
0
If you mean to specify line breaking rule of p tag, below code break at any letter when reaches at margin edge. p { word-break: keep-all; }
16th Sep 2017, 3:10 AM
Calviղ
Calviղ - avatar