<html><body>
<script type="text/javascript">// 这行代码输出标题:document.write("<h1>This is a header</h1>");// 这行代码输出段落:document.write("<p>This is a paragraph</p>");document.write("<p>This is another paragraph</p>");</script>
</body></html>