Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

For example I have the following HTML page

<html>
<head></head>
<body>

This should be printed in the first page

<!-- Special code to print anything below this line to next page -->

This should be printed in the second page

</body>
</html>

Is there a special code like that?

share|improve this question

1 Answer 1

up vote 3 down vote accepted

So far as I know, there is no special code to control displayed "pages" because "next page" has different meaning on an iPhone, on a 10" tablet and on a dual 24" screen PC.

I believe page-break-before="always|auto|" can be used in CSS2 to affect printing of HTML.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.