Javascript Document Write New Line

javascript document write new line

New line in text in javascript alert(\n is not working

How do I make this line to show on a new line then?