Open In App

HTML | DOM Window defaultStatus Properties

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 :



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

Article Tags :