Closing Div ID

This section will show you how to close the div ID tag. I own full rights to this tutorial. Let me know if this has helped you or if you need help. =]


Now after each section, you must close the tag otherwise your layout will mess up. The closing tag looks like this ..



Now say we opened up a div ID for the navigation e.g.



... We must ensure we close the tag afterwards otherwise the coding will all think it belongs with the same ID and will be affected. This is how you should close the ID tag ...



Now your tag is closed. Whenever you use div id or div class you must ensure the closing tag is placed at the end!

This section of the tutorial has now been covered. You may proceed to the next stage.