html - Is it standard to use Hyperlink(a tag) within label tag? -
is standard use hyperlink(a tag) within label tag ?
<label for="contentplaceholder1"><a href="~/address">link text , label name</a></label>
it valid have anchor inside label — in html 4.01 html5.
you can try out w3c markup validator check if markup valid.
whether makes sense question. ok have link alongside non-link-text inside label, label consisting of single link won't great user experience.
Comments
Post a Comment