Which of the following attribute triggers event when the window loses focus?
A - onbeforeload
B - onblur
C - onlostfocus
D - lostfocus