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 How to Make a Website HTML First Create the Content Containers

Chenglu Li
Chenglu Li
1,380 Points

Why my tag will not be automatically closed?

Hi, as shown in the video, tags will be automatically closed in workspace. However, it does not work here, I wonder if there is a function I need to turn on? Thank you!

1 Answer

Sean Pierce Sumler
Sean Pierce Sumler
18,968 Points

Hi Chenglu.

Workspaces isn't perfect and sometimes the tags simply wont close. I've ran into this issue, too. You will have to try and remember to check to see if your tags are closing as you write your code.

Also, there are some html tags that do not require closing tags.

I hope this helps, -Sean

Chenglu Li
Chenglu Li
1,380 Points

Thank you! That helps a lot!