A cookie banner should inform users about cookies on the website and their purposes in brief and ask for consent from the users. A banner should clearly provide users with the option to accept and reject cookies, and also to give granular consent through cookie settings. It should also provide detailed information on cookies by linking to the cookie or privacy policy.