<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="Generator" content="EditPlus®">
<meta name="Author" content="">
<meta name="Keywords" content="">
<meta name="Description" content="">
<script language="JavaScript">
function show()
{
document.getElementById("info").innerHTML = "<h2>www.baidu.com</h2>"
}
</script>
<title>Document</title>
</head>
<body>
<form action="" method="post">
<input type="button" value="显示">
<span id="info"></span> <!-------- span:Specifies an inline text container.指定内嵌文本容器------>
</form>
</body>
</html>
|
|