You can avoid page breaks inside the HTML elements rendered to PDF using the page-break-inside:avoid CSS attribute in HTML elements styles. If a HTML element has this CSS attribute and the HTML element would be normally rendered on two PDF pages then converter will try to move the rendering of the element to the beginning of the next PDF page. This is possible only if the element height is smaller than the next PDF page height.

At the top of the demo you can choose the HTML document to convert which can be: