HTML lang Attribute

This is language attribute for HTML which specifies the use of particular language being used in the content. There are short codes for every languages that are put up their to sort this lang attribute.

Note : ISO 639-1 is the standard for language codes which are used in HTML

Using HTML lang Attribute

here is the syntax and example for this HTML lang attribute

<element lang="language_code">

This is how you use HTML lang attribute.

Dies ist, wie Sie verwenden, um HTML Attribut lang

Tip : Language HTML attribute is defined under html tag only <html lang=”en”> …. <html >

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *