I am creating a platform on which people can send emails - to display a preview of emails, I use the div below the form where they can enter a message.
So, the general structure looks like this:
<html>
<body>
<form>
</form>
<div>
<html>
</html>
</div>
</bod>
</html>
However, the simple use of html tags inside the html document itself seems to confuse every browser - also, this does not seem very clean.
Since the sent email would be its own html document, it would be easiest to put all this in a div.
How can I do this in a correct, clean way?
source
share