Open In App

HTML | DOM Window defaultStatus Properties

Last Updated : 26 Jul, 2019
Improve
Improve
Like Article
Like
Save
Share
Report

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


Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads