わかりました、説明はちょっとファンキーですが、ここに私の問題があります:
<asp:ListItem Value="0">All Leads <i>(include Archive & Trash)</i></asp:ListItem>
<asp:ListItem Value="0">All Leads <i>(include Archive & Trash)</i></asp:ListItem>
<asp:ListItem Value="0" Text="All Leads <i>(include Archive & Trash)</i>" />
<asp:ListItem Value="0" Text="All Leads <i>(include Archive & Trash)</i>" />
3つのバージョンはすべて、次のhtmlをレンダリングします
All Leads <i>(include Archive & Trash)</i>
もちろん、これはXHTML検証に失敗します。次のようにhtmlをレンダリングする必要があります。
All Leads <i>(include Archive & Trash)</i>
どうすればこれを修正できますか?
ありがとう。