How do I redirect to "href" and not "value"?
Follow the code.
<form>
<input list="categorias" type="text" placeholder="O que você procura?" >
<datalist id="categorias">
<option value=" "> </option>
<option value="JOGOS"><a href="jogos.html"></a></option>
<option value=" "> </option>
<option value="PS4"><a href="PS4.html"></a></option>
<option value="PS3"><a href="PS3.html"></a></option>
<option value="Xbox One"><a href="xboxone.html"></a></option>
<option value="Xbox 360"><a href="xboxone.html"></a></option>
<option value=" "> </option>
<option value="Consoles"><a href="jogos.html"></a></option>
<option value=" "> </option>
<option value="PS4"><a href="consolesps4.html"></a></option>
<option value="PS4 PRO"><a href="consolesps4pro.html"></a></option>
<option value="Xbox One"><a href="consolesxboxone.html"></a></option>
<option value="Xbox One X"><a href="consolesxboxonex.html"></a></option>
</datalist>
<input type="submit" id="categorias" value="Procurar"/>
</form>