Thursday, March 22, 2012

HTML Code

i have a education site, and i have a css quiz, when i run css quiz, its answers compile as html code and don't shown as text

i use > and < insted < and > but those intended as html code, how can i fix it?

string text = "<p>This contains HTML</p>";

Response.Write (Server.HtmlEncode (text));


what is CSS ??

H_R wrote:

what is CSS ??

Please read theCSS Introduction at w3schools.com.

CSS = stands forCascadingStyleSheets ?? I tought It is Really something
So what is css quiz?!?!?


i have a education site, and i put some question to my site visitors can examine their CSS exprience, but this css codes compile as html page code, how can i pervent it?

irani wrote:

i have a education site, and i put some question to my site visitors can examine their CSS exprience, but this css codes compile as html page code, how can i pervent it?

Use the HTMLEncode mentioned previously, or use the <pre></pre> HTML tags to output preformatted text.
Jeff

No comments:

Post a Comment