Re: [i18n-drafts] [articles/language-tags/index] language tags in XHTML (#576)

In XHTML 1.0 documents, both `lang` (which derives from HTML) and `xml:lang` (which derives from XML) are needed (and can be used on any tag). `hreflang` only applies to specific tags (it's purpose is different, as it communicates the expected language of the content of therelated `href`).

However, you're probably right about revising this section. This content was created in 2006, when XHTML was still relevant. Nowadays HTML5 should probably be referenced and it only uses the `lang` attribute.



-- 
GitHub Notification of comment by aphillips
Please view or discuss this issue at https://github.com/w3c/i18n-drafts/issues/576#issuecomment-1908989582 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 24 January 2024 22:03:37 UTC