HTML

HTML Intro

HTML Intro Quiz

HTML Intro Exercise

HTML Basics

HTML Basic Quiz

HTML Basic Exercise

HTML Advance

HTML Advance Quiz

HTML Advance Exercise

HTML Tags List

HTML Global Attributes

HTML Attributes

FAQs

HTML onafterprint Attribute

HTML onafterprint Attribute

 

 

The onafterprint attribute fires when a page has started printing, or if the print dialogue box has been closed.

 

Used With:-

 

Elements Event
body onafterprint

 

Syntax:-

 

Its syntax is:- < element onafterprint="your_script" >

Code Explanation

All Tutorials related to HTML Attributes

All Sections related to HTML