1 2 3 4 5 6
<!DOCTYPE html> <html> <body> <input type="number" style="width: 100px; -moz-appearance: textfield; text-decoration: underline;" value="1234"> </body> </html>