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! While you're at it, check out some resources Treehouse students have shared here.

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


Marcos Ferrao
Marcos Ferrao
3,772 Points

Do I have to use the Language attribute inside of the HTML tag? If so, why?

I've seen people using that attribute when writing code, I ask that because I'm from Brazil and I would like better understand that.

mikkel pohjola
mikkel pohjola
1,966 Points

you dont have to. It is so google can see what country you come from for example i am from denmark so i use this to tell google that my website is from denmark

<html lang="da"> ... </html>

for more info you can look at w3 schools website


i hope it help