<!DOCTYPE html> <html> <head> <style> div { min-height: 20px; } </style> </head> <body onload="document.querySelector('div').focus();"> <div contenteditable="true"> </div> </body> </html>