In this lesson, you will learn what valid XML documents are, why document type definitions for XML documents are needed, and how to write a DTD for XML documents.