HTML DOM deviceYDPI Property
Definition and Usage
The deviceYDPI property returns the number of vertical dots per inch on the display screen.
Syntax
screen.deviceYDPI
Example
<html> <body> <script type="text/javascript"> document.write("<p>Device YDPI: ") document.write(screen.deviceYDPI + "</p>") </script> </body> </html>