/

HTML / CSS / JavaScript Tutorial

HTML Standard attribute: contextmenu

[this page | pdf | back links]

The HTML contextmenu attribute indicates the context menu (i.e. what appears when the mouse is right-clicked). At the time of writing (early 2018) it did not appear to be supported by many browsers.

 

Valid attribute values include:

 

Value

Description

text

Text to display when mouse is right-clicked

 


NAVIGATION LINKS
Contents | Prev | Next | HTML Attributes


Desktop view | Switch to Mobile