<script>
// can I use JavaScript to put unescaped html into a textarea input?
function atnbg20170214tu0849testtextarea() {
var ta = document.getElementById("atnbg20170214tu0849testtextarea")
ta.value = '
<div id = "atnbg20170214tu0849startstring" style="position:absolute;left:0px;top:0px;width:400px;height:100px;background-color:navajowhite;color:mistyrose"><div style="position:absolute;left:0%;top:0%;width:25%;height:25%;background-color:pink"></div>"</div>a
'}
atnbg20170214tu0849testtextarea()
</script>
<textarea id="atnbg20170214tu0849testtextarea" style="position:absolute;left:0px;top:200px;width:400px;height:100px;background-color:navajowhite;color:mistyrose"></textarea>
<div id="atnbg20170214tu0849testtextareacode" style="position:absolute;left:0px;top:400px;width:400px;height:100px;background-color:navajowhite;color:mistyrose">
<script>
// can I use JavaScript to put unescaped html into a textarea input?
function atnbg20170214tu0849testtextarea() {
var ta = document.getElementById("atnbg20170214tu0849testtextarea")
ta.value = '<div style="color:burlywood;font-size:100px">a</div>'}
atnbg20170214tu0849testtextarea()
</script>
</div>
<script>
// can I use JavaScript to put unescaped html into a textarea input?
function atnbg20170214tu0849testtextarea() {
var ta = document.getElementById("atnbg20170214tu0849testtextarea")
ta.value = '<div style="color:burlywood;font-size:100px">a</div>'}
atnbg20170214tu0849testtextarea()
</script>