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 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,573 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,573 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,573 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,573 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?