HTML分页打印
1 <HTML> 2 <HEAD> 3 <TITLE>TITLE</TITLE> 4 </HEAD> 5 <BODY> 6 <DIV>This is the 1 DIV.</DIV> 7 <DIV STYLE="page-break-before:always">This is the 2 DIV.</DIV> 8 <DIV STYLE="page-break-before:always">This is the 3 DIV.</DIV> 9 <button onclick="window.print()">打印</button> 10 </BODY> 11 </HTML>

浙公网安备 33010602011771号