VOOZH about

URL: https://www.geeksforgeeks.org/html/html-dom-input-text-blur-method/

⇱ HTML DOM Input Text blur() Method - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

HTML DOM Input Text blur() Method

Last Updated : 23 Jul, 2025

The Input Text blur() method in HTML DOM is used to pull or remove focus from the text field when the event occurs.  

Syntax:

textObject.blur()

Parameters: This method does not contain any parameter values.

Return Value: It does not return any value.

Example: Below program illustrates the use of the input text blur()  method in HTML DOM. 

Output 

👁 Image

Supported Browsers:

  • Google Chrome 1
  • Mozilla Firefox 1
  • Edge 12
  • Opera
  • Safari 1
Comment
Article Tags: