Re: Form elements and the rest of the document

-----BEGIN PGP SIGNED MESSAGE-----

In article <9607100454.AA08264@Etna.ai.mit.edu>,
Sunil Mishra <smishra@Etna.ai.mit.edu> wrote:
> Why is it that the DTD for HTML 3.2 allows tags like INPUT and TEXTAREA
> (which don't appear to have much of a function outside of a form) to appear
> outside the context of a form? In fact, they seem to fit into a great many
> contexts, here's the list I have collected:

The idea is that you can use all the tags you mention to "dress up"
a form. It is not a strict requirement, but all the tags which belong
in forms should appear in the context of a form somewhere. Things like
<SUP><TEXTAREA NAME=foo ROWS=1 COLS=1></SUP> are legal, but quite
pointless.

It's not a parser's job to make sense of HTML. That is up to the
renderer. It seems reasonable to me that you can safely ignore form
tags which do not appear inside a form.

Galactus

- -- 
To find out more about PGP, send mail with HELP PGP in the SUBJECT line to me.
E-mail: galactus@stack.urc.tue.nl - Please PGP encrypt your mail if you can.
Finger galactus@turtle.stack.urc.tue.nl for public key (key ID 0x416A1A35).
Anonymity and privacy site: <http://www.stack.urc.tue.nl/~galactus/remailers/>


-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: cp850

iQCVAgUBMeN1JjyeOyxBaho1AQEsHAP6AywHhfv4uWnIE8qifvQDLSDIygASCHJx
AfFjRJwHQDrSIjP018/XjPw0i7+QoT6u4R4A2dZDPW9o7Ec2brSN4GFJ+sjh4Tki
TgtW9tbLNrCMx7TjULEUAMZ+5VOOWCyiUeiyJQde7U9G2Jecr0D7CSvxrMbYqTuf
SYeIOFdtX6c=
=jzne
-----END PGP SIGNATURE-----

Received on Wednesday, 10 July 1996 05:19:39 UTC