<command> Tag in HTML 5
In this article I am going to explain about command tag in HTML 5
Definition
<command> tag in HTML 5 is used to defines a command that the user can invoke. <command> tag in HTML 5 can be used in any where in web page. It can be used in menu or tool bar.
Browser Support by <command> tag
The <command> tag only supports in internet explorer 9 browser.
Lets take an example of <command> tag
<html>
<head>
<script type="text/javascript">
function hello() {
alert("Hello MCN Solutions");
}
</script>
</head>
<body>
<menu>
<command type="command" label="hello" onclick="hello()">Hello</command>
</menu>
</body>
</html>
|
Output

You may also read more about HTML 5 here
Ask Your Question
Got a programming related question? You may want to post your question here
Programming Answers here