<!DOCTYPE html> <html> <head> <style> input { -moz-appearance: none; margin: 0; padding: 10px; font-size: 20px; height: 100px; width: 100px; border: 1px solid red; } </style> </head> <body onload="document.getElementById('i').focus()"> <input type="password" id="i"> </body> </html>