1
I have a website and need to put a language selector on it, when the user selects the flag corresponding to the desired language to be redirected to a specific url.
<select>
<option>Brazil</option>
<option>English</option>
<option>spanish</option>
</select>
In the case of the above code example instead of the names I want the flag inside, I have tried to insert the image directly but it does not appear, and after selected be redirected to a mentioned URL, I know it is with javascript that you do this, just do not know how, someone can help?