HTML Navigator cookieEnabled Property

The HTML navigator cookieEnabled property returns a boolean value that defines whether the cookies are enabled in the browser or not.

Syntax

Following is the syntax ?

navigator.cookieEnabled

Let us see an example of HTML navigator cookieEnabled property ?

Example




HTML navigator cookieEnabled property Demo

Output

Click on "Show Browser Cookies Information" button to display whether browser cookies are enabled or not ?

Updated on: 2026-03-11T22:50:45+05:30

170 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements