Skip to content
Related Articles

Related Articles

HTML | DOM Window defaultStatus Properties
  • Last Updated : 26 Jul, 2019

The DefaultStatus property is used to set or return the default text in the status bar at the bottom side of the browser.

Syntax:

window.defaultStatus

Return Type: The Default text in status bar.

Example:




<!DOCTYPE html>
<html>
  
<head>
    <title>
        HTML | DOM Window defaultStatus Properties
    </title>
</head>
  
<body>
  
    <p>This is first paragraph.</p>
  
    <script>
        window.defaultStatus =
            "The default text of the status bar.";
    </script>
  
</body>
  
</html>

NOTE :

  • The output of this example can’t be generated as this property is not supported by any browser.
  • This property supports in Opera 12 and earlier version.
  • This property supports in Firefox 23 and earlier version.

Supported Browsers: The major browsers are not supported by DOM Window defaultStatus Properties

My Personal Notes arrow_drop_up
Recommended Articles
Page :