1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
<!DOCTYPE html> <html> <head> <style> input { width: 200px; height: 5px; outline: 1px dotted black; /* Disable baseline alignment, so that our y-position isn't influenced by the * choice of font inside of input: */ vertical-align: top; } </style> </head> <body> <input> </body> </html>