<!DOCTYPE html> <html lang="en"> <head> <title>Example of HTML input tag</title> </head> <body> <form action="yourfile" method="post"> <label for="first-name">First name:</label> <input type="text" name="first-name" id="first-name"> <input type="submit" value="Submit"> <input type="reset" name="Reset"> </form> </body> </html>
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter