Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

David Collins
Courses Plus Student 2,598 PointsBasic HTML structure
Should I use the language attribute as a common practice for my basic structure in HTML? In some of the code that I have seen its not in there. Now this is what my basic HTML structure looks like
<!doctype html>
<html lang="en">
< head>
<meta charset="utf-8">
<title> My Page </title>
</head>
<body>
</body>
</html>
3 Answers

Thas Eagans
Courses Plus Student 2,533 PointsLanguage is an 'optional' attribute, and English is the default. So whether you specifically add it or not, the Browser automatically assumes that the page's language is English. So you can decide whether you wanna make it your practice.
</TREagans>

David Collins
Courses Plus Student 2,598 PointsOkay, now I understand that better. Thank you Thas

Thas Eagans
Courses Plus Student 2,533 PointsYou're Welcome!
</TREagans>