Thursday, 21 February 2013

Data list in html 5

Source


<!DOCTYPE html>
<html>
<body>

<form action="demo_form.asp" method="get">

<input list="browsers" name="browser">
<datalist id="browsers">
  <option value="Internet Explorer">
  <option value="Firefox">
  <option value="Chrome">
  <option value="Opera">
  <option value="Safari">
</datalist>
<input type="submit"></form>

</body>
</html>

Out Put:


No comments:

Post a Comment