<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>点击问好</title>
</head>
<script>
function add(sss){
var dd=document.getElementById("aaa");
dd.innerHTML=dd.innerHTML+sss;
}
</script>
<body οnclick="add('好! ')">
<div οnclick="add('你')">
<ul οnclick="add('福');">
<li οnclick="add('黄');" style="width:80px; height:22px; background:#9FC; border:#F00 1px solid; color:#000; list-style:none; line-height:22px; font-weight:bold; font-style:oblique; text-align:center;">点击问好</li>
</ul>
</div>
<div id="aaa"></div>
</body>
</html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>点击问好</title>
</head>
<script>
function add(sss){
var dd=document.getElementById("aaa");
dd.innerHTML=dd.innerHTML+sss;
}
</script>
<body οnclick="add('好! ')">
<div οnclick="add('你')">
<ul οnclick="add('福');">
<li οnclick="add('黄');" style="width:80px; height:22px; background:#9FC; border:#F00 1px solid; color:#000; list-style:none; line-height:22px; font-weight:bold; font-style:oblique; text-align:center;">点击问好</li>
</ul>
</div>
<div id="aaa"></div>
</body>
</html>