For example, the following RadioButtonList code
<asp:RadioButtonList id="RadioButtonList1" runat="server">
<asp:ListItem Value="v1" Key="k1">1</asp:ListItem>
</asp:RadioButtonList>
-or-
RadioButtonList1.Items[0].Attributes.Add("key", "k1");
<input id="RadioButtonList1_0" type="radio" name="RadioButtonList1" value="v1" />
<label for="RadioButtonList1_0">1</label>
<asp:DropDownList id="DropDownList1" runat="server">
<asp:ListItem Value="v1" Key="k1">1</asp:ListItem>
</asp:DropDownList>
<option value=v1>1</option>