<!DOCTYPE html>
<html>
<body>
<div id="target"></div>
<script>
document.getElementById("target").innerHTML =
"<object type='text/html' data='data:text/html,<body bgcolor="green">' width='300' height='200'></object>";
</script>
</body>
</html>