Yeah, it's valid XML, but best practice would be to use xml:lang="en-US" and "hi-US", rather than code="en_US" and "hi_US". That identifies the text's languages as English (US variant) and Hindi (US variant) respectively, which is apparently the intent here.
4 comments for this poster
only that's not HTML.
The cake is a lie (I'm so original aren't I?)
Yeah, it's valid XML, but best practice would be to use xml:lang="en-US" and "hi-US", rather than code="en_US" and "hi_US". That identifies the text's languages as English (US variant) and Hindi (US variant) respectively, which is apparently the intent here.
You guys are flippin dorks. who the f--k cqares if its html or xml.