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 Beginning HTML and CSS Introduction to HTML and the Portfolio Project

I don't understand how to type the closing tag

Please help

Hey Jakub, you type closing tags by typing a forward slash before the tag in the brackets. It looks like this: </div> or </body> Just remember, some tags are self closing tags, meaning that they don't need a closing tag, only the opening tag. They look like this: <img>

Hope this helped!

3 Answers

Erik Nuber
Erik Nuber
20,629 Points

most but not all html tags follow the

<> </>

structure

like for a paragraph tag

<p> Your text here </p>

there are some instances where there is just a single tag like link or meta

<link href="" rel="" type"" />
<meta http-equiv="Content-Type" content="text/html"; charset="UTF-8" />

Hope that answers your question, if not please be more specific

</p>

Thank You very much, I find your answer really helpful! I think that's enough learning for one day. Have a nice day :)