If you like SEOmastering Forum, you can support it by - BTC: bc1qppjcl3c2cyjazy6lepmrv3fh6ke9mxs7zpfky0 , TRC20 and more...

 

xml:lang

Started by beingchinmay, 08-22-2016, 04:27:58

Previous topic - Next topic

beingchinmayTopic starter

The xml:lang attribute can specify the language used for the content within an element. The values can come from the ISO standard 639, denoted by the IANA prefix i-, or from private sources, denoted by the prefix x-. For example:

Quote<docu xml:lang="en">
<p xml:lang="fr">Bonjour monde en français </p>
<p xml:lang="de">Hallo Welt auf Deutsch<p>
<p>Hello World in English</p>
</docu>

The dоcument illustrates "Hello World" in French (xml:lang="fr"), German (xml:lang="de"), and English. The p tag for English has no xml:lang attribute because it is in the scope of the docu element, which is set to xml:lang="en". Therefore, unless overridden, the default content of the
docu element is in English.



If you like SEOmastering Forum, you can support it by - BTC: bc1qppjcl3c2cyjazy6lepmrv3fh6ke9mxs7zpfky0 , TRC20 and more...