Obtenir la hauteur de la fenêtre JavaScript
<p id="demo"></p>
<script>
document.getElementById("demo").innerHTML =
"Screen width is " + screen.width;
</script>
Ankur
<p id="demo"></p>
<script>
document.getElementById("demo").innerHTML =
"Screen width is " + screen.width;
</script>
document.getElementById("demo").innerHTML =
"Screen Width: " + screen.width;