Before we look at some actual XML, you need to know The Rule. You must obey The Rule with every piece of XML text you write.
The Rule
If you open it, close it.
That's it. Don't forget it. Obey it. Live it. I'll explain what it means later.