0

わかりました、説明はちょっとファンキーですが、ここに私の問題があります:

<asp:ListItem Value="0">All Leads <i>(include Archive & Trash)</i></asp:ListItem>
<asp:ListItem Value="0">All Leads <i>(include Archive &amp; 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 &amp; Trash)</i>" />

3つのバージョンはすべて、次のhtmlをレンダリングします

All Leads <i>(include Archive & Trash)</i>

もちろん、これはXHTML検証に失敗します。次のようにhtmlをレンダリングする必要があります。

All Leads <i>(include Archive &amp; Trash)</i>

どうすればこれを修正できますか?

ありがとう。

4

1 に答える 1

0

答えは、これが必要だということです。それと同じくらい愚かです。

于 2010-03-22T02:27:16.257 に答える