HTML <menuitem> default Attribute

❮ HTML <menuitem> tag

Example

A default <menuitem> element:

<menu>
<menuitem command="submitbutton" default>
</menu>

Definition and Usage

The default attribute is a boolean attribute.

When present, it specifies that the <menuitem> element should be the default command.


Browser Support

The numbers in the table specify the first browser version that fully supports the attribute.

Attribute
default Not supported Not supported Not supported Not supported Not supported

Syntax

<menuitem default>

❮ HTML <menuitem> tag
Copyright 1999-2023 by Refsnes Data. All Rights Reserved.