<?xml version="1.0" encoding="UTF-8"?>
<student>
<name>George</name>
<phone>(011) 123-4567</phone>
<address></address>
<city />
</student>
One way is <address></address>
element and another is <city />
. In other words, one with closing tag and another is self-closing tag.