Supported elements . Syntax: In HTML: In JavaScript: object.onblur = function(){myScript}; Event Attribute. Veja como ficaria o exemplo anterior. onFocus = "script command(s)" onBlur = "script command(s)" onFocus is the event handler for when the body of the page receives the focus. The onfocus attribute is used to trigger an event when the element gets focus. HTML onblur Event Attribute, Onfocus is most often used with , , , then onblur returns the focus back.. IntentFilters are typically defined via ANS: Both of above ------ 64. The onblur event is the opposite of the onfocus event. onfocus. The onfocus event is mostly used with ,