In simple terms, the last element opened must be closed first. So walk your way back and close everything that you left open after the element you want to close. E.g.: <p>There are more <span lang="fr">soi-disant web developers than there are actual web developers.</p> Code (markup): You can't close the P until you have closed all descendants; in this case, the SPAN. A little tip, a good formatting scheme will make this type error more difficult to make and easier to find if you do screw up. gary
In your case, you need to close your element DIV <div id="body-wrapper" class="home item index"> delicious #instagram .... </div> Code (markup):
Just like others said before, in HTML, the order you close the tags is opposite to the order you open them. What this means is that the last tag opened is the first one to be closed. Example: <body> <div id="body-wrapper" class="home item index"> <p>#instagram #twitter</p> </div> </body> Code (markup): Hope this helps you understand.