<div dir="ltr">On Thu, Oct 2, 2008 at 6:27 PM, Brenton Strine <span dir="ltr"><<a href="mailto:Brenton.Strine@citrix.com">Brenton.Strine@citrix.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Tue, Sep 30, 2008 at 11:36 AM, Andy Lyttle <<a href="mailto:whatwg@phroggy.com">whatwg@phroggy.com</a>> wrote:<br>
</div>[snip]<br>
<div class="Ih2E3d">> 4) <label> (moving label textual content into <input> as placeholder text; currently with Javascript to mutate the DOM, in the > future with CSS to present the desired appearance while keeping the DOM stable)<br>
> Pro: Most semantic.<br>
</div>[snip]<br>
<br>
That depends on what you are using it for. What if you are using it to apply a placeholder that says "(optional)"? That is not a label at all. There are a lot of uses for the proposed placeholder attribute that just don't fit into any of the other categories. I think a placeholder attribute would be great.</blockquote>
<div><br>Hmm, true. That's definitely a case where the text can't be argued to be a label.<br><br>Of course, it's still not in any way semantic. The only difference between "(optional)" being displayed near the input and being displayed *within* the input is one of aesthetics. The meaning of the document isn't changed one iota. This leans me even more toward a CSS solution. I'll just bite the bullet and bring it up to the CSS WG.<br>
<br>~TJ<br></div></div></div>