Home >
Article > Web Front-end > The use and definition of
The html5 is used to define the command button. Here is a detailed introduction to the usage of the The role of the The command element represents the command that the user can call. The The command element is visible only when it is located within the menu element. Otherwise this element will not be displayed, but it can be used to specify keyboard shortcuts. Mark a button: What are the attributes of the H5: Represents new attributes in HTML5. #Which browsers support the No browser supports the Tag definition and usage instructions When using the <menu>
<command onclick="alert('Hello World')">
Click Me!</command>
</menu>
The above is the detailed content of The use and definition of