Multiple choice

Which of the following DOM event attributes in HTML5 is used when the element loses focus?

  1. onafterprint

  2. onbeforeprint

  3. onblur

  4. onfocus

  5. onload

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

This event attribute in HTML5 is used when the element loses focus.