I really like the HTML tag, which makes it very easy to see which label stands for which input element by checking its "for" attribute. You know, something like:
<label for="txtInput"> Enter your name</label>
<input type="text" id="txtInput" />
Is it possible to do something like this in the asp.net Label control so I can see what it means, what kind of input control? I couldn't see the attribute for this. Without expanding control?
Thank!
source
to share