Blank page selector

<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Blank page selector</title> <style> @page { size: 50mm 20mm; margin: 0; } @page:blank { background: lightblue; } section.page { break-after: right; font-size: 10pt; line-height: 10pt; } </style> </head> <body> <section class="page"> blank page required </section> <section class="page"> blank page required </section> <section class="page"> <br /> <br /> <br /> <br /> <br /> <br /> No blank page required </section> <section class="page"> End </section> </body> </html>