- wpBeta
-
完整的网站技术参考手册
参考手册涵盖了网站技术的方方面面。其中包括W3C的标准技术:HTML、XHTML、CSS、XML。以及其他的技术,诸如JavaScript、PHP、ASP、SQL等等。
在线实例测试工具
在w3school,提供上千个实例。通过使用我们的在线编辑器,可以编辑这些例子,并对代码进行实验。
快捷易懂的学习方式
一寸光阴一寸金,因此,提供快捷易懂的学习内容。在这里,可以通过一种易懂的便利的模式获得您需要的任何知识。
- 陶小凡
-
* 回复内容中包含的链接未经审核,可能存在风险,暂不予完整展示!<input type="button" value="运行代码" onclick="runCode()"/>
<table border="1">
<tr><td><textarea id="ta" role="5" cols="50" style="height:300px;width:500px">
<html>
<head>
<script type="text/javascript" src="http://ajax.a*******.com/ajax/jQuery/jquery-1.4.2.min.js"></script>
<script>
window.onload=function(){
$("p").click(function () {
$(this).hide();
});
}
</script>
</head>
<body>
<p>如果您点击我,我会消失。</p>
<p>点击我,我会消失。</p>
<p>也要点击我哦。</p>
</body>
</html>
</textarea></td>
<td><iframe id="ifrCode" frameborder="0" marginheight="0" marginwidth="0" style="height:300px;width:500px"></iframe></td></tr>
</table>
<script>
var ta = document.getElementById("ta"), ifrCodeDoc = document.getElementById("ifrCode")
function runCode() {
ifrCodeDoc.contentWindow.document.open();
ifrCodeDoc.contentWindow.document.write(ta.value);
ifrCodeDoc.contentWindow.document.close();
}
</script>