Checks declaration of the DOCTYPE.