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.

HTML Introduction to HTML and CSS Adding a New Web Page Test: Write and Style an Element

Now add the two tags that should always be nested within the <html></html> element.

Now add the two tags that should always be nested within the <html></html> element.

index.html
<!doctype html>
<html lang="en"
      <head>MIND</head>
<body>
  LOVE
</body>

</html>

7 Answers

Daron Anderson
Daron Anderson
2,566 Points

Now add the attribute to the HTML tag that's always required, and two tags that should always be nested within the <html></html> element. Is concise.

Daryl Carr
Daryl Carr
18,318 Points

You need to close your

<html lang="en"

should be

<html lang="en">
Daron Anderson
Daron Anderson
2,566 Points

thats crap not a concise question.

Daron Anderson
Daron Anderson
2,566 Points

This is not a concise question..... There a lots of tags that are nested within the HTML Doc..

Daron Anderson
Daron Anderson
2,566 Points

That would be called an attribute. Like a language Attribute.

<!DOCTYPE HTML> <html> <head>

</head> <body> </body> </html>

CSL Team
PLUS
CSL Team
Courses Plus Student 9,942 Points

This should work <!DOCTYPE HTML> <html> <head>

</head> <body> </body> </html>

<!DOCTYPE HTML> <html> <head></head> <body></body> </html>