I would like to check if a given string has a correct html syntax. I don’t know which html elements should be inside, the only one thing I know is that string should be a correct html expression.
Anyone has an idea how to check it in C#?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use Html Agility Pack : http://html-agility-pack.net/?z=codeplex