An XHTML document must have a declaration statement.
There are other elements which are also mandatory with XHTML.
To play a fun game which teaches XHTML basics, click on the link below: