hreflang html code example Example: hreflang html The hreflang attribute specifies the language of the linked document.