In my application I have a RadioButtonList:
<asp:RadioButtonList runat="server" ID="CardTypeRadioButtonList" RepeatDirection="Horizontal">
<asp:ListItem Value="Visa">
<img src="../images/icon_visa.gif" alt="Visa" align="absmiddle"> Visa
</asp:ListItem>
<asp:ListItem Value="MasterCard">
<img src="../images/icon_mc.gif" alt="MasterCard" align="absmiddle"> Mastercard
</asp:ListItem>
</asp:RadioButtonList>
However, sometimes Visual Studio generates the following code automatically and inserts it into my ListItems:
<img src="../images/icon_visa.gif" alt="Visa" align="absmiddle"> Visa
Any idea how to make this go away?