I wanted to add a drop down list to my wordpress post. So i put this in the text editor

<option value="volvo">Volvo</option>
<option value="saab">Saab</option>
<option value="mercedes">Mercedes</option>
<option value="audi">Audi</option>

however once I switch to the visual editor and then back to the text editor, i see this,

<select><option value="volvo">Volvo</option></select>
<select><option value="saab">Saab</option></select>
<select><option value="mercedes">Mercedes</option></select>
<select><option value="audi">Audi</option></select>

why is wordpress automatically appending select tags to each option value?

I am using wordpress 3.9.1 twenty twelve theme

Read more here: WordPress - Select tag gets automatically appended


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Related Wordpress search:

, , , ,

Wordpress related questions and answers: