Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Title of the document</title> <style> body { background-color: #8ebf42; } form { width: 400px; margin: auto; margin-top: 250px; } input { padding: 4px 10px; border: 0; font-size: 16px; } .search { width: 75%; } .submit { width: 70px; background-color: #1c87c9; color: #ffffff; } </style> </head> <body> <h2>Create search boxes</h2> <form action="/form/submit" method="GET"> <input type="text" name="text" class="search" placeholder="Search here!"> <input type="submit" name="submit" class="submit" value="Search"> </form> </body> </html>