[PLUG-TALK] XHTML-1.0 Strict Form Tags Reference

Alex LeDonne aledonne.listmail at gmail.com
Mon Aug 27 21:01:34 UTC 2007


On 8/27/07, Rich Shepard <rshepard at appl-ecosys.com> wrote:
> On Mon, 27 Aug 2007, Alex LeDonne wrote:
>
> > So these provide the lists of modules, each with a list of tags. Is this
> > the sort of reference you were seeking?
>
> Alex,
>
>    Perhaps. What I read on the W3C site is that there is a hierarchy from
> html-4.0 to xhtml-1.1; "basic" is about three steps up. However, I've also
> read that the whole forms portion has been made obsolete by the new xforms.
> The latter is supposed to be supported in xhtml-1.0 and -1.1 and will be
> built into -2.0.
>
>    At this point I'm rather confused because using <forms></forms> apparently
> will not validate with xhtml-1.0 strict, and the <xforms></xforms> model and
> data seem to be far too convoluted and complicated for the simple
> three-inputs, one button to send those values to the server for calculation,
> and one field to display the result that I need.
>
>    Much appreciate your pointers.
>
> Rich
>

OK, now I see what you're talking about...
http://www.w3.org/TR/xhtml1/#dtds
http://www.w3.org/TR/xhtml1/dtds.html#a_dtd_XHTML-1.0-Strict

So, my understanding is that xhtml-1.0-strict is trying to be as close
to html4 as possible, thus the ONLY form tag is <form></form>. There
is no <target/> tag; just a target attribute for form, link, and a
tags. In your original message you refer to "target" as being "to
define a field displaying the results returned by the server on the
form" - are you looking to do a partial page update with something
AJAXy? I don't think you can do it strictly (no pun intended) with
XHTML-1.0-Strict without <div/>s or javascript.

I could be wrong; if so I hope someone has a brilliant idea to show it. :)

-Alex



More information about the PLUG-talk mailing list