string with n character (String.fromCharCode() example)
by Radim Šafrán
CSS
* {
white-space: pre-line;
}
JavaScript
h1 = ""
h1 += "My" + String.fromCharCode(10);
h1 += "name" + String.fromCharCode(10);
h1 += "is..." + String.fromCharCode(10);
h1 += "Lorem Ipsum." + String.fromCharCode(10);
document.body.innerHTML = h1