Easy Tutorial
❮ Met Cssstyle Item Met Win Moveto ❯

Navigator platform Property


Definition and Usage

The platform property is a read-only string that declares the operating system and/or hardware platform on which the browser is running.

Syntax


Browser Support

All major browsers support the platform property.


Example

Which platform is your browser compiled on:

<script>
document.write("Hardware platform: " + navigator.platform);
</script>

The above example outputs:

document.write("Hardware platform: " + navigator.platform);

More Examples

This example includes all navigator properties.


❮ Met Cssstyle Item Met Win Moveto ❯