'deviceXDPI' Example : deviceXDPI « Javascript Properties « JavaScript Reference

'deviceXDPI' Example

    
<html>
<body>
<button onclick="alert(screen.deviceXDPI);">device XDPI</button>
<button onclick="alert(screen.deviceYDPI);">device YDPI</button>
</body>
</html>

    
      
      








Related examples in the same category

1.'deviceXDPI' Syntax and Note
2.'deviceXDPI' is applied to