caption Attribute (menu Element)
Used as the caption for a menu.
The caption attribute is a required attribute of the menu element.
When used for a menu that is nested within a view, the caption is the top-level menu caption; when used for a menu that is nested within a toolbar, the caption is for the button on a drop-down menu; and when used for a menu that is nested inside another menu (cascading menu), the caption is the sub-menu caption.
The following is an example of the caption attribute as it is used in the menu element: