You can test your declaration by validating your document using an online validator or an XML or HTML editor. This will check that your document is properly structured and free from syntax errors.