Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial

eugenjuhos
2,596 Pointshtml lang=""
Hi, how does the lang=" " definition is important? Can we use another? How does it affect to a page content?
2 Answers

Adam Sackfield
Pro Student 19,663 PointsThe HTML lang attribute can be used to declare the language of a Web page or a portion of a Web page. This is meant to assist search engines and browsers.
See here for more informaton

eugenjuhos
2,596 PointsThank you, I`ll check it!
James Barnett
39,199 PointsJames Barnett
39,199 PointsAdam Sackfield -
As w3schools has some issues with credibility so I usually suggest these instead:
For what it's worth here's Sitepoint's page on the
lang
attribute http://reference.sitepoint.com/html/core-attributes/lang