7.3. Forms

The form, in which a number of user-modifiable items are collected into a structured group, is central to both HTML and XUL. HTML is hypertext, and the hypertext concept doesn't really include the idea of a form, but forms are so useful that their addition to HTML is just a matter of history. XUL, on the other hand, is meant for forms from the beginning. If XUL achieves widespread acceptance, then the forms module of future XHTML standards might be no more than a reference to part of XUL.

Mozilla's HTML and XUL forms are quite similar. The simplest of the form elements are nearly identical. Event handlers and navigation work much the same in both. Any HTML primer that contains a little JavaScript is good preparation for XUL forms. ...

Get Rapid Application Development with Mozilla™ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.