<!--
{
  "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

[`var WebMenuItemTagOpenLinkInNewWindow: Int`](/documentation/WebKit/WebMenuItemTagOpenLinkInNewWindow)

Open the link in a new window.

[`var WebMenuItemTagDownloadLinkToDisk: Int`](/documentation/WebKit/WebMenuItemTagDownloadLinkToDisk)

Download the link to a disk.

[`var WebMenuItemTagCopyLinkToClipboard: Int`](/documentation/WebKit/WebMenuItemTagCopyLinkToClipboard)

Copy the link to the clipboard.

[`var WebMenuItemTagOpenImageInNewWindow: Int`](/documentation/WebKit/WebMenuItemTagOpenImageInNewWindow)

Open the image in a new window.

[`var WebMenuItemTagDownloadImageToDisk: Int`](/documentation/WebKit/WebMenuItemTagDownloadImageToDisk)

Download the image to disk.

[`var WebMenuItemTagCopyImageToClipboard: Int`](/documentation/WebKit/WebMenuItemTagCopyImageToClipboard)

Copy the image to the clipboard.

[`var WebMenuItemTagOpenFrameInNewWindow: Int`](/documentation/WebKit/WebMenuItemTagOpenFrameInNewWindow)

Open the frame in a new window.

[`var WebMenuItemTagCopy: Int`](/documentation/WebKit/WebMenuItemTagCopy)

Copy the element to the clipboard.

[`var WebMenuItemTagGoBack: Int`](/documentation/WebKit/WebMenuItemTagGoBack)

Load the previous page.

[`var WebMenuItemTagGoForward: Int`](/documentation/WebKit/WebMenuItemTagGoForward)

Load the next page.

[`var WebMenuItemTagStop: Int`](/documentation/WebKit/WebMenuItemTagStop)

Stop loading the current page.

[`var WebMenuItemTagReload: Int`](/documentation/WebKit/WebMenuItemTagReload)

Reload the current page.

[`var WebMenuItemTagCut: Int`](/documentation/WebKit/WebMenuItemTagCut)

Cut the currently selected content.

[`var WebMenuItemTagPaste: Int`](/documentation/WebKit/WebMenuItemTagPaste)

Paste the content on the clipboard onto the current selection.

[`var WebMenuItemTagSpellingGuess: Int`](/documentation/WebKit/WebMenuItemTagSpellingGuess)

Suggest spellings for the misspelled word.

[`var WebMenuItemTagNoGuessesFound: Int`](/documentation/WebKit/WebMenuItemTagNoGuessesFound)

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

[`var WebMenuItemTagIgnoreSpelling: Int`](/documentation/WebKit/WebMenuItemTagIgnoreSpelling)

Ignore the misspelled word.

[`var WebMenuItemTagLearnSpelling: Int`](/documentation/WebKit/WebMenuItemTagLearnSpelling)

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

[`var WebMenuItemTagOther: Int`](/documentation/WebKit/WebMenuItemTagOther)

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

[`var WebMenuItemTagSearchInSpotlight: Int`](/documentation/WebKit/WebMenuItemTagSearchInSpotlight)

Search SpotLight for the current selection.

[`var WebMenuItemTagSearchWeb: Int`](/documentation/WebKit/WebMenuItemTagSearchWeb)

Search the web for the current selection.

[`var WebMenuItemTagLookUpInDictionary: Int`](/documentation/WebKit/WebMenuItemTagLookUpInDictionary)

Look up the current selection in the Dictionary.

[`var WebMenuItemTagOpenWithDefaultApplication: Int`](/documentation/WebKit/WebMenuItemTagOpenWithDefaultApplication)

Open the current selection using the default application.

[`var WebMenuItemPDFActualSize: Int`](/documentation/WebKit/WebMenuItemPDFActualSize)

Display a PDF document at its original size.

[`var WebMenuItemPDFZoomIn: Int`](/documentation/WebKit/WebMenuItemPDFZoomIn)

Scale up a PDF document.

[`var WebMenuItemPDFZoomOut: Int`](/documentation/WebKit/WebMenuItemPDFZoomOut)

Scale down a PDF document.

[`var WebMenuItemPDFAutoSize: Int`](/documentation/WebKit/WebMenuItemPDFAutoSize)

Display a PDF document at a user-specified size.

[`var WebMenuItemPDFSinglePage: Int`](/documentation/WebKit/WebMenuItemPDFSinglePage)

Display a PDF document one page at a time.

[`var WebMenuItemPDFFacingPages: Int`](/documentation/WebKit/WebMenuItemPDFFacingPages)

Display a PDF document two pages at a time.

[`var WebMenuItemPDFContinuous: Int`](/documentation/WebKit/WebMenuItemPDFContinuous)

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

[`var WebMenuItemPDFNextPage: Int`](/documentation/WebKit/WebMenuItemPDFNextPage)

Display the next page of a PDF document.

[`var WebMenuItemPDFPreviousPage: Int`](/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)