How do I validate a html file with C#?

后端 未结 3 1998
星月不相逢
星月不相逢 2020-12-11 05:24

I have a C# application that receives an html file. I want to parse and validate it. On output it will return a list of errors or that my html is valid.

Has anyone

3条回答
  •  遥遥无期
    2020-12-11 05:47

    I'd run a local instance of the W3C Markup Validation service and communicate with it via the API

提交回复
热议问题