1 2 3 4 5 6 7 8 9
<!DOCTYPE html> <html> <body> <input type="text"> <script> document.getElementsByTagName("input")[0].value = "abcdef"; </script> </body> </html>