我有以下代码,
<!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>
我无法在结果中看到代码语法。我错过了什么?
结果是这样的:
在线演示在这里:http: //jsfiddle.net/yKss3/