xxxxxxxxxx
<html>
<head>
<meta charset="utf-8">
<title>W3Cschool(w3cschool.cn)</title>
</head>
<head>
<script>
function setAlign()
{
alert("Some javaScript....");
}
</script>
</head>
<body>
<menu>
<command type="radio" label="Left" icon="left.png" onclick="setAlign('left')">Left</command>
<command type="radio" label="Center" icon="center.png" onclick="setAlign('center')">Center</command>
<command type="radio" label="Right" icon="right.png" onclick="setAlign('right')">Right</command>
</menu>
<p><b>注意:</b>目前,几乎所有的主流浏览器都不支持 icon 属性。</p>
</body>
</html>