Home > Web Front-end > Front-end Q&A > How to use html command tag

How to use html command tag

藏色散人
Release: 2019-05-26 14:10:39
Original
3659 people have browsed it

html The command tag is used to represent commands that users can call. The tag can define command buttons, such as radio buttons, check boxes, or buttons. The command element is only visible if it is inside a menu element.

How to use html command tag

#html How to use the command tag?

Function: Indicates the commands that the user can call.

Description:

tag can define command buttons, such as radio buttons, check boxes or buttons. The command element is only visible if it is inside a menu element. Otherwise this element will not be displayed, but it can be used to specify keyboard shortcuts.

Note:

Currently only Internet Explorer 9 supports the tag. The tag is new in HTML 5.

html command tag usage example

<!DOCTYPE HTML>
<html>
<body>
<menu>
<command type="command">Click Me!</command>
</menu>
</body>
</html>
Copy after login

The above is the detailed content of How to use html command tag. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template