How to apply table border styles using InsertHtml

Hi,
I am not able set table border styles using insertHtml

strHtml = "<table border=1 style='width:500px;border-collapse:collapse;border-color:grey;'>";
builder.InsertHtml(strHtml);

Hi Satish,
Thanks for your inquiry. Please try using the following html:

string strHtml = "<table border=1 style='width:500px;border-collapse:collapse;border-color:grey;' ><tr><td></td></tr></table>";

Hope, this helps.
Best regards,