I'm trying to use div tag inside innerhtml c#. Below is my piece of code for sample,
slideUL.InnerHtml = "<div class = "slide - holder"/>"
You can use single quote or escape with double quote for class property. I think class name should be without any space like
slide-holder. Also you have missed close
slideUL.InnerHtml = "<div class = \"slide-holder\"/></div>"