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 Treehouse Club: HTML Publish a Story HTML Structure

christopher isaac
PLUS
christopher isaac
Courses Plus Student 1,511 Points

what does the question "write in the opening and closing html brackets" mean?

what do i write in them?

index.html
<!DOCTYPE hi there html>
<html>
  <title>hi</title>
</html>
Omar Farag
Omar Farag
4,571 Points

You've done it correctly. Just try to take out the title tags, that might be preventing the challenge from passing.

2 Answers

Omar Farag
Omar Farag
4,571 Points

Woops, didn't notice the first part. I don't believe (correct me if I'm wrong) that you can customize the doctype. The beginning of every html doc should be

<!DOCTYPE html>

You can't put

<!DOCTYPE hi there html>

That should do it.

christopher isaac
christopher isaac
Courses Plus Student 1,511 Points

You are correct, that was my first error. I did change that before asking for help but it stayed for some reason. I have tried without it and nothing.

Omar Farag
Omar Farag
4,571 Points

Anytime. What was the problem?

christopher isaac
christopher isaac
Courses Plus Student 1,511 Points

basically I removed the writing in the doctype tag on the first question and it came back on the second question which I wasn't realising.

Omar Farag
Omar Farag
4,571 Points

You've done it correctly. Just try to take out the title tags, that might be preventing the challenge from passing.

christopher isaac
christopher isaac
Courses Plus Student 1,511 Points

Thanks for the reply! Just tried removing the title tags but got no joy. Do you have any other suggestions?