<description>
is used to create a block of text. There are two ways:
It's simple. Text content will word wrap when displayed. Attribute will not.
Exception
e.g. radio
element:
Why? Firefox expands this code to
The text "This text will word wrap when displayed." is expanded to text content (not attribute!) of label
element.
e.g. richlistitem
element:
I don't know why.
Effect of <html:br/>
(X)HTML's br
element represents a line break. html:br
element can be readily applied to XUL.
html:br
element can not be applied to attribute.
- this code is invalid.
- this radio button label is "br can not be<html:br/> applied to attribute."
See also