document.write multiple lines code example Example: document.write multiple lines document.write( 'line1' +'line2' +'line3' )