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

HTML Introduction to HTML and CSS (2016) 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,567 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,567 Points

thats crap not a concise question.

Daron Anderson
Daron Anderson
2,567 Points

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

Daron Anderson
Daron Anderson
2,567 Points

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

<!DOCTYPE HTML> <html> <head>

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

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

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

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