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 Introduction to Workspaces

</p> after each paragraph...

As we can see at the end of each paraghraph we have paaragraph tags. What is the funcionallity of them as i changed the text and also deleted them ( paragraph tags ) and the changes was shown good. So the changes took place and deleting them didn't effect the text changing.

1 Answer

Rasbin Rijal
PLUS
Rasbin Rijal
Courses Plus Student 10,864 Points

Hi besnik,

As you have mentioned, "at the end of paragraph" , I understood that you are asking about the closing p tag. In general every html element has a starting and ending tags (there are few exceptions like for img tag). Though you may not see differences keeping or not keeping end tag for paragraph, there are several reasons to keep the closing p tag in your html code :

  1. It helps to keep your code consistent.
  2. It is always a good reason to keep it to make sure that it works well with all browsers.

Some web designers / developers don't use </p>. One of the reason I know is to decrease a very minimal memory that the </p> closing tag uses.

Thank you! I'm a beginner and answering this type of questions it helps me so much. Thank you again.