What is the use of page-break-before

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

To Break (start new page) the page before the element. this is basically used while printing a form etc.
syntax:
<div>Lakhan Pal Garg </div>
<div style="page-break-before:always;">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