<!DOCTYPE HTML> <html> <body> <div id="input" style="width:0; height:200px; outline:none" contentEditable="true"></div> <script> window.focus(); document.getElementById("input").focus(); </script> </body> </html>