Validating via W3C can only be done when a correct DOCTYPE declaration is made, which is used to highlight errors in code.
只有在做出正确的DOCTYPE声明时才能通过W3C进行验证，该声明用于突出显示代码中的错误。