9.html
来自「JAVA程序设计课程中各章节的程序实例。」· HTML 代码 · 共 19 行
HTML
19 行
<html>
<head>
<script type="text/javascript">
function total(a,b)
{
return a*b
}
</script>
</head>
<body>
<script type="text/javascript">
document.write(total(4,3))
</script>
<p>The script in the body section calls a function with two parameters (4 and 3).</p>
<p>The function will return the product of these two parameters.</p>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?