The span
element represents an arbitrary span of text.
<p>In the sea around <span xml:lang="es">Tierra del Fuego</span>, and at no great distance from the land, I have seen narrow lines of water of a bright red colour …</p>
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.
abbr, annotation, annotation, m:annotation-xml, aside, aside, block, caption, caption, cite, code, code, d, definition, emph, entry, entry, expansion, xforms:group, h, hd, hpart, item, item, l, l, xforms:label, label, lnum, meta, name, note, noteref, object, sel:otherwise, p, place, ssml:prosody, quote, quote, its:rb, ref, xforms:repeat, its:rt, s, span, spine, sub, sup, td, term, th, time, ssml:token, w and sel:when
http://www.daisy.org/z3986/2010/
This element belongs to the core grammar.
Name | Presence | Description |
---|---|---|
about | Optional | This attribute is part of the RDF/a metadata attributes
collection. For more information on the usage of RDF/a, consult the W3C
RDF/a primer.
Value: One of • value(s) of type
anyURI • value(s) of type
string satisfying
• the pattern "
(([\i-[:]][\c-[:]]*)?:)?.+ "
• a minimum length of 1
|
class | Optional | Value: Some value of type NMTOKENS
|
content | Optional | This attribute is part of the RDF/a metadata attributes
collection. For more information on the usage of RDF/a, consult the W3C
RDF/a primer.
Value: Any string |
datatype | Optional | This attribute is part of the RDF/a metadata attributes
collection. For more information on the usage of RDF/a, consult the W3C
RDF/a primer.
Value: Some value of type string satisfying
• the pattern "
(([\i-[:]][\c-[:]]*)?:)?.+ "
• a minimum length of 1
|
property | Optional | This attribute is part of the RDF/a metadata attributes
collection. For more information on the usage of RDF/a, consult the W3C
RDF/a primer.
Value: A white space separated list of one or more value(s) of type string satisfying
• the pattern "
(([\i-[:]][\c-[:]]*)?:)?.+ "
• a minimum length of 1
|
rel | Optional | This attribute is part of the RDF/a metadata attributes
collection. For more information on the usage of RDF/a, consult the W3C
RDF/a primer.
Value: A white space separated list of one or more value(s) of type string satisfying
• the pattern "
(([\i-[:]][\c-[:]]*)?:)?.+ "
• a minimum length of 1
|
resource | Optional | This attribute is part of the RDF/a metadata attributes
collection. For more information on the usage of RDF/a, consult the W3C
RDF/a primer.
Value: One of • value(s) of type
anyURI • value(s) of type
string satisfying
• the pattern "
(([\i-[:]][\c-[:]]*)?:)?.+ "
• a minimum length of 1
|
rev | Optional | This attribute is part of the RDF/a metadata attributes
collection. For more information on the usage of RDF/a, consult the W3C
RDF/a primer.
Value: A white space separated list of one or more value(s) of type string satisfying
• the pattern "
(([\i-[:]][\c-[:]]*)?:)?.+ "
• a minimum length of 1
|
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
|
typeof | Optional | This attribute is part of the RDF/a metadata attributes
collection. For more information on the usage of RDF/a, consult the W3C
RDF/a primer.
Value: A white space separated list of one or more value(s) of type string satisfying
• the pattern "
(([\i-[:]][\c-[:]]*)?:)?.+ "
• a minimum length of 1
|
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 |
its:translate | Optional |
The its:translate attribute expresses information about
whether the content of an element should be translated or not.
If not specified, the default value "yes" is assumed. Consult Internationalization Tag Set (ITS) for further information. This attribute belongs to the feature «ITS Ruby» Value: One of •
no •
yes |
rend:rend | Optional |
The Rendition (rend) attribute provides a means to indicate how the text within element in question was rendered or presented in the source text. The value is a limited set of single CSS properties, provided primarily to allow efficient Braille transcription. For more elaborate expressions of source style capturing, authors must make use of external CSS stylesheets. The value is inherited by descendants. In terms of the CSS cascade, values provided here are considered author-level. This attribute belongs to the feature «Source Rendition» Value: One of •
font-style: italic •
font-weight: bold •
text-decoration: underline |
ssml:alphabet |
Co-dependant on ssml:ph |
The SSML alphabet attribute specifies the phonemic/phonetic pronunciation alphabet to
use when rendering the value of the ph attribute. If the alphabet attribute
is not specified, the value x-sampa is assumed, which refers to TODO X-SAMPA REFERENCE.
Consult Speech Synthesis Markup Language (SSML) Version 1.1 for further information. This attribute belongs to the feature «SSML (Speech Synthesiser Markup Language) Integration» Value: One of text:
•
ipa •
x-sampa |
ssml:onlangfailure | Optional |
The onlangfailure attribute describes the desired behavior of a
synthesis processor upon language speaking failure.
The value of this attribute is inherited by descendants. Consult Speech Synthesis Markup Language (SSML) Version 1.1 for further information. This attribute belongs to the feature «SSML (Speech Synthesiser Markup Language) Integration» Value: One of •
changevoice •
ignorelang •
ignoretext •
processorchoice |
ssml:ph | Optional |
The SSML ph attribute provides a phonemic and phonetic notation for the contained text.
Consult Speech Synthesis Markup Language (SSML) Version 1.1 for further information. This attribute belongs to the feature «SSML (Speech Synthesiser Markup Language) Integration» Value: Any string |
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: One of • value(s) of type
language • one of:
af , az , be , bg , bo , bs , ca , ce , cs , cy , da , de , el , en , eo , es , et , eu , fa , ff , fi , fj , fo , fr , fy , ga , gd , gl , gn , gu , gv , ha , he , hi , ho , hr , ht , hu , hy , hz , ia , id , ie , ig , ii , ik , in , io , is , it , iu , iw , ja , ji , jv , jw , ka , kg , ki , kj , kk , kl , km , kn , ko , kr , ks , ku , kv , kw , ky , la , lb , lg , li , ln , lo , lt , lu , lv , mg , mh , mi , mk , ml , mn , mo , mr , ms , mt , my , na , nb , nd , ne , ng , nl , nn , no , nr , nv , ny , oc , oj , om , or , os , pa , pi , pl , ps , pt , qu , rm , rn , ro , ru , rw , sa , sc , sd , se , sg , sh , si , sk , sl , sm , sn , so , sq , sr , ss , st , su , sv , sw , ta , te , tg , th , ti , tk , tl , tn , to , tr , ts , tt , tw , ty , ug , uk , ur , uz , ve , vi , vo , wa , wo , xh , yi , yo , za , zh or zu |
xml:space | Optional | Value: One of •
default •
preserve |