<body>
<div id="divlab">
</div>
<input
type="button" value="button" onclick="b()" />
<script
type="text/javascript">
function b() {
var div =
document.getElementById("divlab");
div.innerHTML = div.innerHTML +
"<label>a</label>";
}
</script>
</body>