codea
<div>
<a href="javascript:atnbg20170214tu1006()" style="color: greenyellow; font-size: 1.5em;">
replace the escaped HTML in the textarea with unescaped same HTML</a>
</div>
<script>
function atnbg20170214tu1006() {
var textarea = document.getElementById("atnbg20170214tu1006")
function unescape(escapedhtml) {
var halfunescaped = escapedhtml.replace(/</g, "<")
return halfunescaped.replace(/>/g, ">")}
textarea.value = unescape(textarea.value)}
</script>
acode