HTML CSS examples for HTML Tag:select
select size
<!DOCTYPE html> <html> <head> <title>Example</title> </head> <body> <form method="post" action="http://example.com/form"> <input type="hidden" name="recordID" value="1234"> <p> <label for="name"> Name: <!--from w w w . j av a2 s . co m--> <input value="java2s.com" id="name" name="name"> </label> </p> <p> <label for="password"> Password: <input type="password" placeholder="Min 6 characters" id="password" name="password"> </label> </p> <p> <label for="fave" style="vertical-align:top"> Favorite Fruit: <select id="fave" name="fave" size="5" multiple> <option value="CSS" selected label="CSS">CSS</option> <option value="HTML" label="HTML">HTML</option> <option value="Oracle" label="Oracle">Oracle</option> <option value="Typescript" label="Typescript">Typescript</option> </select> </label> </p> <input type="submit" value="Submit"> </form> </body> </html>