I have a simple html page with a div element in it. The innerHTML property of the div is set through query String. In query string I pass html strings,i.e.
<p style= font-size:20px;color:green; > Sun rises in the east </p> etc...
我获得了适当的产出。
然而,如果我以属性的风格通过彩色代码,那么我就没有显示任何内容。
谁能帮助我这样做?