What does the availHeight property in JavaScript mean?

WBOY
Release: 2023-09-03 15:57:09
forward
1276 people have browsed it

What does the availHeight property in JavaScript mean?

Use the screen.availHeight property to return the width of the user's screen. Results will be expressed in pixels and do not include taskbar functionality.

Example

You can try running the following code to see how to use the screen.availHeight property in JavaScript:

Demo

<!DOCTYPE html>
<html>
   <body>
      <script>
         document.write("Height of the screen: "+screen.availHeight);
      </script>
   </body>
</html>
Copy after login

The above is the detailed content of What does the availHeight property in JavaScript mean?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:tutorialspoint.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template