HTML <html> Tag with the 'lang' Attribute
<!DOCTYPE HTML> <html lang="en"> <head> <title>Document Title</title> </head> <body> <p>Content goes here...</p> </body> </html>
The above example demonstrates usage of the
<html> element with the
The W3C encourages authors to include the
lang attribute on the
<html> element in their HTML documents. Doing so aids speech synthesis tools to determine what pronunciations to use, translation tools to determine what rules to use, etc.