This is not my question

I say that here is a code which is work well in google chrome and firfox
new version but it can not work in IE or firfox old version.
This is a code.
Code:
<!doctype html>
<html>
<head>
<title>Example 0</title>
</head>
<body>
<p>
<form>
<label>What is your favorite color?
<input type="text" list="colors" />
<datalist id="colors">
<option value="black">Black</option>
<option value="blue">Blue</option>
<option value="white">White</option>
<option value="yellow">Yellow</option>
</datalist>
</label>
</form>
</p>
</body>
</html>
Please solve this problem.