html changing text row \n code example Example 1: html put newline in text with \n white-space: pre-line; Example 2: html newline 1st line <br> 2nd line