What is the use of page-break-after?

 Posted by Lakhangarg on 2/26/2010 | Category: HTML 5 Interview questions | Views: 4091
Answer:

To Break (start new page) the page after the element. this is basically used while printing a form etc.
syntax:
<div style="page-break-after:always;">Lakhan Pal Garg </div>
<div>My Blog name is : http://lakhangarg.blogspot.com </div>

Out put will be as :
Lakhan Pal Garg (First Page)
My Blog name is : http://lakhangarg.blogspot.com (Second Page)


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response