Optimization Html code

I have Html code from ckeditor and I want to optimze .

ckeditor make this code below

"<p><a href=\"http://www.test.com\"><span style=\"color:#1abc9c\"><span style=\"background-color:#e74c3c\">fffffffff</span></span></a></p>

and I changed like this

"<p ><a style=\"color:#1abc9c\ background-color:#e74c3c\" href=\"http://www.test.com\">fffffffff</a></p>

Can I use HtmlAbilityPack and how?

What happened when you made the change?

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.