Run ❯
Get your
own
website
Result Size:
625 x 565
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
<!DOCTYPE html> <html> <body> <h1>The Window Navigator Object</h1> <h2>The platform Property</h2> <p>This property is removed (deprecated) in the latest web standard. Do not rely on platform to return the correct browser platform in all browsers.</p> <p id="demo"></p> <script> let platform = navigator.platform; document.getElementById("demo").innerHTML = "Platform: " + platform; </script> </body> </html>