<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title></title>
<script language="JavaScript">
function test(){
var oTABLE = document.createElement('TABLE')
document.body.appendChild(oTABLE)
oTABLE.outerHTML='<table width="200" height="100" border="1" bgcolor="#CCCCCC"><tr><td>显示显示</td></tr></table>'
// prompt('', document.body.innerHTML)
return
}
window.onload=test;
</script>
</head>
<body>
</body>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title></title>
<script language="JavaScript">
function test(){
var oTABLE = document.createElement('TABLE')
document.body.appendChild(oTABLE)
oTABLE.outerHTML='<table width="200" height="100" border="1" bgcolor="#CCCCCC"><tr><td>显示显示</td></tr></table>'
// prompt('', document.body.innerHTML)
return
}
window.onload=test;
</script>
</head>
<body>
</body>
function test(){
var oTABLE = document.createElement('table')
var oTBody = document.createElement("TBODY");
oTABLE.appendChild(oTBody);
var oTR = document.createElement("TR")
var oTD = document.createElement("TD")
oTD.innerHTML = "显示显示"
oTR.appendChild(oTD)
oTBody.appendChild(oTR)
document.body.appendChild(oTABLE)
//prompt('', document.body.innerHTML)
}
</script>
</head><body onload="test()">
</body>
</html>
table-tbody[thead][tfoot]-tr-td[th]