JavaScript 调用函数
<body>
<h1>my web</h1>
<p id="demo"> a paragraph</p>
<button type="button" οnclick="myfunction">click me</button>
<script>
function myfunction()
{
document.getElementById("demo").innnerHTML="paragraph is modification!";
}
</script>
</body>