I need to perform php tests that let me know if an html is formed correctly. It's basically like the equivalent to wsdl for xml. I need a file where define which tags (eg div, article, etc.) are mandatory and which are not and that do not take into account the data within the content. Is there something similar?
thanks