The label element

On this page:

Possible children

This element may contain text. It may contain the following children: abbr, annotation, caption, code, d, definition, emph, expansion, xforms:input, l, list, m:math, name, noteref, object, pagebreak, ssml:phoneme, place, ssml:prosody, quote, xforms:range, ref, its:ruby, ssml:say-as, xforms:secret, sel:select, xforms:select, xforms:select1, span, sub, ssml:sub, sup, term, xforms:textarea, time, ssml:token and w.

Possible parents

xforms:choices, xforms:group, xforms:input, xforms:item, xforms:itemset, xforms:range, xforms:secret, xforms:select, xforms:select1 and xforms:textarea

Content model

Empty

Namespace

http://www.w3.org/2002/xforms/

This element belongs to the feature «Print Forms»

Attributes

Name Presence Description
src Required No further information about this attribute is available.
Value: Some value of type anyURI
bind Optional No further information about this attribute is available.
Value: Some value of type IDREF
class Optional
Value: Some value of type NMTOKENS
model Optional No further information about this attribute is available.
Value: Some value of type IDREF
ref Optional No further information about this attribute is available.
Value: Some value of type string
role Optional The role attribute allows the author to annotate elements with machine-extractable semantic information about the nature or purpose of an element.
The value of the role attribute is one or several QNames, which when expanded resolves to a class or property in an RDF vocabulary.
The role attribute generates an RDF triple, scoped to the current element. As compared to RDFa, the expression <x role="foo:bar"/> is equivalent to <x xml:id="baz" about="#baz" property="foo:bar"/>
The Z39.86 role attribute has been designed to be functionally compatible with the W3C XHTML Role Attribute Module.
This module itself does not define a method to assign default prefixes to used QNames; such practice is application specific.
Value: A white space separated list of one or more value(s) of type QName
its:dir Optional The its:dir attribute is used to specify the base writing direction of the content. If not specified, the default value ltr is assumed.
Consult Internationalization Tag Set (ITS) for further information.
This attribute belongs to the feature «ITS Ruby»
Value:

One of

lro
ltr
rlo
rtl
xml:base Optional
Value: Some value of type anyURI
xml:id Optional
Value: Some value of type ID
xml:lang Optional The xml:lang attribute is used to identify the natural or formal language in which the content is written.
Consult Extensible Markup Language (XML) 1.0 for further information.
Value: Some value of type language
xml:space Optional
Value:

One of

default
preserve

Additional Information