method:writeln ( string );return type:voidcontent:ใช้เขียนข้อความลงบนเอกสาร และเมื่อเขียนเสร็จจะขึ้นบรรทัดใหม่example:window.document.writeln ( "<b>welcome</b>" );