# HTML Global Attribute: contextmenu
The `contextmenu` attribute is an HTML global attribute used to define a custom context menu (right-click menu) for an element. When a user right-clicks on the element, the specified custom menu is displayed instead of or in addition to the browser's default context menu.
---
## Definition and Usage
* The `contextmenu` attribute associates an element with a `