Re: Why <FORM> is a block level element?

Neil St.Laurent (
Fri, 15 Aug 1997 09:41:05 -0600

Message-Id: <>
From: "Neil St.Laurent" <>
To: Peter Flynn <>
Date: Fri, 15 Aug 1997 09:41:05 -0600
Subject: Re: Why <FORM> is a block level element?

> But HTML 4 allows the data-collection elements to appear OUTSIDE
> the scope of FORM. What does this mean?

There are a couple reasons for this:

1.  There are many places where the form elements such as INPUT, 
OPTION, etc... would be used not in the context of a form.  With the 
introduction of script extensions the elemetns action members can be 
used for various purposes that do not need the presence of a form 
per se.

2. SGML has a severe restriction about content models.  You can only 
allow elements in one level.  Example:
You can't say that <INPUT> can appear inside <P> if <P> is inside a 
<FORM>.  The model allows only for <INPUT> to check one element up.
This is a hinderance in SGML, and unfurtunately will be extended to 

| Mortar: Advanced Web Development <>
| Neil St.Laurent
| Big Picture Multimedia