SVG xml:lang Attribute
The xml:lang attribute in SVG is used to indicate the primary language that is used in the contents and attributes containing text content on the website. It is allowed in all XML dialects as it is a universal attribute. All elements use this attribute.
xml:lang = "language-tag"
Attribute Values: The attribute accepts values as mentioned above and described below:
- language-tag: This value indicates the language used for the given element. The language is defined according to the BCP 47 specification.
Attention reader! Don’t stop learning now. Get hold of all the important HTML concepts with the Web Design for Beginners | HTML course.