How to specify language of the target URL in HTML5 ? Read Courses Improve Improve Improve Like Article Like Save Article Save Report issue Report In this article, we will learn how to set the language of the target URL in HTML5. The task can be done by using the hreflang attribute while using the <area> tag. This property contains the value i.e languageCode which represents the two-letter code of the linked document language. Note: If the target document is in English then en is passed as the value. Syntax: <area hreflang="language_code"> Example: The following code also uses the HTML map tag. HTML <!DOCTYPE html> <html> <body style="text-align: center"> <img src= "https://media.geeksforgeeks.org/wp-content/uploads/20210620081018/ell-300x156.png" alt="Geeks_logo" width="200" height="100" usemap="#gfg" border="4px solid green" /> <map name="gfg"> <area shape="ellipse" coords="100,49,50,30" href="https://www.geeksforgeeks.org/" hreflang="en" /> </map> </body> </html> Output: Last Updated : 28 Jun, 2021 Like Article Save Article Previous Which input type is used to choose the date in HTML ? Next How to filter path of routes in Express.js ? Share your thoughts in the comments Add Your Comment Please Login to comment...