When the content exceeds the tag width, the content will auto break into new line. How to split the tag content by line?
Expect Result: each line content Same question but not solved: Read text within an HTML <p> tag line by line in JavaScript
When the content exceeds the tag width, the content will auto break into new line. How to split the tag content by line?
Expect Result: each line content Same question but not solved: Read text within an HTML <p> tag line by line in JavaScript
Just a javascript alternative
document.getElementById('P TAG').innerHTML+="\n your text"