Think of it as being a bit like a schema for a database - we're used to the idea that in normal relational databases you can only use columns which have already been declared, and you have to insert the right kind of data in them. Well, a DTD does roughly the same kind of thing for XML documents.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…