HTML5 - Introduction
HTML5 - New Elements
HTML5 - Removed Elements
HTML5 - Browser Check
Tag Name : command
The 'command' tag is used to associate the execution of a script function to the click of a radio button, checkbox or command button.
HTML Example :
<!DOCTYPE HTML>
<html>
<head>
<script>
function showMsg()
{
alert("check box checked.");
}
</script>

</head>
<body>

<command type="checkbox" onclick="showMsg()">Check this box</command>

</body>
</html>
Output :
Check this box

© 2010 www.generalconnection.com. All rights reserved. | www.generalconnection.com