Chạy ❯
Nhận trang web của
riêng
bạn
×
Thay đổi định hướng
Lưu mã
Thay đổi chủ đề, Tối/Sáng
Đi tới Không gian
<!DOCTYPE html> <html lang="en"> <head> <title>Ví dụ về Bootstrap</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width , init-scale=1"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"> <SCRIPT_PLACEHOLDER_9/> <SCRIPT_PLACEHOLDER_10/ > </head> <body> <div class="container"> <h2>Điều khiển biểu mẫu: select</h2> <p>Biểu mẫu bên dưới chứa hai menu thả xuống (danh sách chọn):</p> <form> < div class="form-group"> <label for="sel1">Chọn danh sách (chọn một):</label> <select class="form-control" id="sel1"> <option>1</option > <option>2</option> <option>3</option> <option>4</option> </select> <br> <label for="sel2">Danh sách chọn nhiều lần (giữ shift để chọn nhiều hơn một):</label> <select multiple class="form-control" id="sel2"> <option>1</option> <option>2</option> <option>3</option> <option> 4</option> <option>5</option> </select> </div> </form> </div> </body> </html>