I have following code,
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<link href="../../../Styles/prettify.css" rel="stylesheet" type="text/css" />
<script src="../../../Scripts/prettify.js" type="text/javascript"></script>
</head>
<body>
<p>And from code behind write following :</p>
<pre class="prettyprint">
protected void Page_Load(object sender, EventArgs e)
{
lblLoading.Text = "Loading News...";
}
</pre>
</body>
</html>
I am not able to see code syntax at the result. What have I missed?
The result is like this:
An online demo is here: http://jsfiddle.net/yKss3/