How do I write a <br/> tag in JavaScript?
var mybr = document.createElement('br');
someElement.appendChild(mybr);
Further reading:
- https://webplatform.github.io/docs/tutorials/traversing_the_dom/
- https://webplatform.github.io/docs/tutorials/creating_and_modifying_html/
document.write('<br/>');
this should do the trick.