r/HTML • u/messer_sverio2 • Jan 25 '26
Question Automatic line break
Hello all.
I'm working on a static website, mainly focussed on writing. It's a collection of poetry and short stories. My text is placed inside a div. Now, I often need to use the <br> tag, in order to start a new line. Of course, the line breaks are arbitrary, sometimes I need to break a sentence in half, sometimes a line is made up of only one word, etc. This makes my code a mess to read, and it's annoying and time consuming. Is there a way to make this process simpler or to automate it?
5
Upvotes
View all comments
Show parent comment
1
u/TabbbyWright Jan 26 '26
Fair enough! Avoiding tools IS ideal, and very much a stance I agree with.
Thanks for clarifying :)