测试代码高亮
插件下载:
http://www.cnlei.org/blog/article.asp?id=504
http://www.cnlei.org/blog/article.asp?id=504
<!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" lang="gb2312">
<head>
<title>语法标亮测试</title>
<script type="text/javascript">
//<![CDATA[
/******* 多行注释 *******************************
** xxxxxxxxxxxxxxxxxxxxxxxx
*************************************************/
function $(eId)
{
//注释测试
return document.getElementById(eId);
}
//]]>
</script>
</head>
<body>
<!--HTML注释测试-->
<div id="demo">I'm innerhTML.</div>
<input onclick="javascript:alert($('demo').innerHTML)" />
</body>
</html>
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="gb2312">
<head>
<title>语法标亮测试</title>
<script type="text/javascript">
//<![CDATA[
/******* 多行注释 *******************************
** xxxxxxxxxxxxxxxxxxxxxxxx
*************************************************/
function $(eId)
{
//注释测试
return document.getElementById(eId);
}
//]]>
</script>
</head>
<body>
<!--HTML注释测试-->
<div id="demo">I'm innerhTML.</div>
<input onclick="javascript:alert($('demo').innerHTML)" />
</body>
</html>
相关内容:
Comments Feed: loading...
Trackback URL:
Loading Related Items ...
Comments Feed: loading...
Trackback URL:
Loading Trackback URI ...
| 发表评论 | |
|
|
|
















代码发芽网网址:
http://www.fayaa.com/code/
完整的介绍:
http://www.2maomao.com/blog/code-fayaa-beta/