<!--
{
  "documentType" : "article",
  "framework" : "WebKit",
  "identifier" : "/documentation/WebKit/menu-item-tags",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Menu Item Tags"
}
-->

# Menu Item Tags

Tags that define the types of default menu items passed to the [`webView(_:contextMenuItemsForElement:defaultMenuItems:)`](/documentation/WebKit/WebUIDelegate/webView(_:contextMenuItemsForElement:defaultMenuItems:)) method.

## Discussion

These tags define common actions a user might want to take with elements in a page. You can use the tags to differentiate between the different types of menu items.

## Topics

### Constants

[`WebMenuItemTagOpenLinkInNewWindow`](/documentation/WebKit/WebMenuItemTagOpenLinkInNewWindow)

Open the link in a new window.

[`WebMenuItemTagDownloadLinkToDisk`](/documentation/WebKit/WebMenuItemTagDownloadLinkToDisk)

Download the link to a disk.

[`WebMenuItemTagCopyLinkToClipboard`](/documentation/WebKit/WebMenuItemTagCopyLinkToClipboard)

Copy the link to the clipboard.

[`WebMenuItemTagOpenImageInNewWindow`](/documentation/WebKit/WebMenuItemTagOpenImageInNewWindow)

Open the image in a new window.

[`WebMenuItemTagDownloadImageToDisk`](/documentation/WebKit/WebMenuItemTagDownloadImageToDisk)

Download the image to disk.

[`WebMenuItemTagCopyImageToClipboard`](/documentation/WebKit/WebMenuItemTagCopyImageToClipboard)

Copy the image to the clipboard.

[`WebMenuItemTagOpenFrameInNewWindow`](/documentation/WebKit/WebMenuItemTagOpenFrameInNewWindow)

Open the frame in a new window.

[`WebMenuItemTagCopy`](/documentation/WebKit/WebMenuItemTagCopy)

Copy the element to the clipboard.

[`WebMenuItemTagGoBack`](/documentation/WebKit/WebMenuItemTagGoBack)

Load the previous page.

[`WebMenuItemTagGoForward`](/documentation/WebKit/WebMenuItemTagGoForward)

Load the next page.

[`WebMenuItemTagStop`](/documentation/WebKit/WebMenuItemTagStop)

Stop loading the current page.

[`WebMenuItemTagReload`](/documentation/WebKit/WebMenuItemTagReload)

Reload the current page.

[`WebMenuItemTagCut`](/documentation/WebKit/WebMenuItemTagCut)

Cut the currently selected content.

[`WebMenuItemTagPaste`](/documentation/WebKit/WebMenuItemTagPaste)

Paste the content on the clipboard onto the current selection.

[`WebMenuItemTagSpellingGuess`](/documentation/WebKit/WebMenuItemTagSpellingGuess)

Suggest spellings for the misspelled word.

[`WebMenuItemTagNoGuessesFound`](/documentation/WebKit/WebMenuItemTagNoGuessesFound)

Indicate whether any suggested spellings for the misspelled word could be found.

[`WebMenuItemTagIgnoreSpelling`](/documentation/WebKit/WebMenuItemTagIgnoreSpelling)

Ignore the misspelled word.

[`WebMenuItemTagLearnSpelling`](/documentation/WebKit/WebMenuItemTagLearnSpelling)

Add the misspelled word to the user’s list of acceptable words.

[`WebMenuItemTagOther`](/documentation/WebKit/WebMenuItemTagOther)

Used when a tag for an item in the context menu can’t be determined.

[`WebMenuItemTagSearchInSpotlight`](/documentation/WebKit/WebMenuItemTagSearchInSpotlight)

Search SpotLight for the current selection.

[`WebMenuItemTagSearchWeb`](/documentation/WebKit/WebMenuItemTagSearchWeb)

Search the web for the current selection.

[`WebMenuItemTagLookUpInDictionary`](/documentation/WebKit/WebMenuItemTagLookUpInDictionary)

Look up the current selection in the Dictionary.

[`WebMenuItemTagOpenWithDefaultApplication`](/documentation/WebKit/WebMenuItemTagOpenWithDefaultApplication)

Open the current selection using the default application.

[`WebMenuItemPDFActualSize`](/documentation/WebKit/WebMenuItemPDFActualSize)

Display a PDF document at its original size.

[`WebMenuItemPDFZoomIn`](/documentation/WebKit/WebMenuItemPDFZoomIn)

Scale up a PDF document.

[`WebMenuItemPDFZoomOut`](/documentation/WebKit/WebMenuItemPDFZoomOut)

Scale down a PDF document.

[`WebMenuItemPDFAutoSize`](/documentation/WebKit/WebMenuItemPDFAutoSize)

Display a PDF document at a user-specified size.

[`WebMenuItemPDFSinglePage`](/documentation/WebKit/WebMenuItemPDFSinglePage)

Display a PDF document one page at a time.

[`WebMenuItemPDFFacingPages`](/documentation/WebKit/WebMenuItemPDFFacingPages)

Display a PDF document two pages at a time.

[`WebMenuItemPDFContinuous`](/documentation/WebKit/WebMenuItemPDFContinuous)

Display all pages in a PDF document continuously, using a vertical scroll bar, if necessary.

[`WebMenuItemPDFNextPage`](/documentation/WebKit/WebMenuItemPDFNextPage)

Display the next page of a PDF document.

[`WebMenuItemPDFPreviousPage`](/documentation/WebKit/WebMenuItemPDFPreviousPage)

Display the previous page of a PDF document.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)