Which of the following attribute triggers event when the document goes offline?
A - offline
B - off
C - out
D - onbeforeonload