Legacy & Obsolete Elements

<menuitem>

Obsolete or historical HTML; do not use in new documents. Represented a command in an abandoned menu system. Use a button for actions or a link for navigation; custom menu widgets need explicit keyboard behavior. The syntax shows old markup for recognition only. The runnable example demonstrates a modern migration pattern, not the obsolete behavior.

Formal Syntax & Structure

html syntaxhtml
<menuitem label="Save">

Working Example

Example Snippethtml
<button type="button" onclick="this.textContent='Saved'">Save</button>
HTML Reference