height attribute is used to control the height of any text box.
<!DOCTYPE html> <html> <head> <title>Textbox Height</title> <style> .searchBar { height:30px; } </style> </head> <body> <form action="submitPage.php"> <input type="text" value="Search" class="searchBar" /> <input type="submit" value="Find"> </form> </body> </html>