HTML DOM print() 方法 ,html 打印

<html>
<head>
<script type="text/javascript">
function printpage()
{
window.print()
}
</script>
</head>
<body>

<input type="button" value="打印本页" onclick="printpage()" />

</body>
</html>

HTML DOM print() 方法

posted @ 2021-02-18 09:51  阿波罗任先生  阅读(366)  评论(0编辑  收藏  举报