XUL Programmer's Reference Manual
|
||||||||||||||
<text />
|
||||||||||||||
<textfield />
|
||||||||||||||
<text> is a general purpose text display widget. It can be used in places where you want to display text by itself, as you might have done previously with an HTML label, or where the text is a part of a composite XBL widget. The textfield element provides a text-entry widget very much like the HTML <input type="textfield" /> widget. You can use the value attribute to put text in the field when it's loaded and the multiline to use the textfield as a multi-line textarea. The difference between the two widgets can be seen in the following example:
Last updated: 3/31/00 Ian Oeschger |