wrap a string in html code example
Example 1: css p tag text wrap
p {
/* That create a ne line, when he word is to long*/
word-break: break-all
}
Example 2: css force string to wrap
<textarea style="width:100px; word-wrap:break-word;">
ACTGATCGAGCTGAAGCGCAGTGCGATGCTTCGATGATGCTGACGATGCTACGATGCGAGCATCTACGATCAGTC
</textarea>
<span style="width:100px; word-wrap:break-word; display:inline-block;">
ACTGATCGAGCTGAAGCGCAGTGCGATGCTTCGATGATGCTGACGATGCTACGATGCGAGCATCTACGATCAGTC
</span>
<tr style="overflow-wrap: anywhere"><td>1</td><td>2</td></tr>