+ 1
two important new element in html5
(1)select element <label >country:</label> <p> <select > <option>argentina</option> <option>canada</option> <option>germany</option> </p> ……………………………………………………… (2) datalist element <label >mobile:</label> <p> <input list="mobile"> <datalist id="mobile"> <option>iphone</option> <option>htc</option> <option>samsung</option> <\datalist> </p>
1 Respuesta
0
<select> element is used to define a drop-down list.
<datalist> element is used to specify a drop-down list of pre-defined option as they input data