Video is not available... Embedded is previous playlist.
Use the multiple
attribute to allow the user to select more than one value:
<!DOCTYPE html>
<html>
<body>
<h2>Allow Multiple Selections</h2>
<p>Use the multiple attribute to allow the user to select more than one value.</p>
<form action="/php/selectMultiple.php" method="post">
<label for="class">Select Subjects:</label>
<select name = "subject[]" multiple size=4>
<option value="english">ENGLISH</option>
<option value="maths">MATHS</option>
<option value="computer">COMPUTER</option>
<option value="science">SCIENCE</option>
<option value="hindi">HINDI</option>
</select>
<input type="submit" name="submit">
</form>
</body>
</html>