Name
HREFLANG — NN n/a IE n/a HTML 4
Synopsis
HREFLANG=”languageCode"
Optional
The language code of the content at the destination of a link.
Requires that the HREF
attribute also be set. This
attribute is primarily an advisory attribute to help a browser
prepare itself for a new language set if the browser is so enabled.
Example
<DIV HREFLANG="HI" HREF="bibliogs/hindi/chap3.html"> ChapterThreeContentinHindiHere </DIV>
Value
Case-insensitive language code.
Default
Browser default.
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.