NetBeans has good support for working with XML documents. One of the little time savers is the automatic determination of the XML end tag belonging to the start tag. The following screenshot shows how NetBeans determined the end tag belonging to the start tag: