var btn = document.getElementById('btn'),
target = document.getElementById('target');
btn.onclick = function() {
target.innerHTML('<li>do it</li>');
}
<p><input type="text" name="text"></p>
<p><input type="button" value="do it" id="btn"></p>
<ul id="target"></ul>