[whatwg] [html5] A <ui> Tag?
Ian Hickson
ian at hixie.ch
Tue Aug 3 16:35:25 PDT 2010
On Wed, 12 May 2010, Darcy Murphy wrote (on help@):
>
> Recently I came up with the idea of using a <ui> tag in order to
> semantically separate my app's content from it's UI chrome. I could use
> <form> but then even clicking a simple <button> submits the form's data
> when what I'm creating is more of a stateful toolbar than a proper form.
(Note that you can work around that last problem by saying <form
action="javascript:void(0)">, at least according to the spec.)
> To that end, is there something like <ui> already available, or in the
> works, or a better solution that I'm not aware of?
I'm not clear on what you consider content vs chrome, so it's hard to
really comment, but in general the <section> and <article> elements are
available for this kind of thing. If you have a concrete example it would
be easier to say whether the spec needs new elements to handle it.
--
Ian Hickson U+1047E )\._.,--....,'``. fL
http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg
mailing list