blowdart wrote:
Mozilla renders the title tag thus as well.
And the containing tag would get the attribute set, as you would expect.
But you cannot guarantee that the control will do that (well, not without looking at it's source in Reflector).
Y'see, this is why I hate WebControls, it's all dumbed down.
<asp:Login /> Ha!
Give me:
<fieldset>
<legend>Login</legend>
<dl>
<dt><label for="txtUsername">Username</label></dt>
<dd><input id="txtUsername" type="text" /></dd>
<dt><label for="pwdOne">Password</label></dt>
<dd><input id="pwdOne" type="password" /></dd>
</dl>
<button type="submit">Login</button>
</fieldset>
Any day
