Result Size: 625 x 534
x
 
<!DOCTYPE html>
<html>
<body>
<h2>window.print() 方法</h2>
<p>点击按钮打印当前页。</p>
<button onclick="window.print()">打印此页</button>
</body>
</html>