HTML CSS examples for HTML Global Attribute:lang
The lang attribute sets the language of an element's contents.
The value for the lang attribute must be a valid ISO language code.
The following code demonstrates how to use this attribute.
<!DOCTYPE HTML> <html> <head> <title>Example</title> </head> <body> <p lang="en">Hello - how are you?</p> <p lang="fr">Bonjour</> <p lang="es">Hola</p> </body> </html> <!-- w w w .j av a 2 s . c o m-->