I want to show a html email inside my html page
Thats is my simplified index.html
<!DOCTYPE html>
 <html class="no-js" lang="">
 <head></head>
 <body>
    <div id='email_goes_here'></div>
 </body>
 </html>
And that the beginning of my email.html
<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
    <head>
        ....
I want to put the code from email.html inside the div#email_goes_here from index.html.
Is it valid to just copy and paste the code in the div? I am not sure if its valid html to have 2 <!DOCTYPE html> and 2 <html> tags. If its not valid, how could I display the html page inside another html page? Any approach using PHP or jQuery would be fine.
I was looking for this problem, but I didnt find anything. I only found the question how to include some html content in anoter html file, but not how to include a complete html page. Here are the links that I found:
Include another HTML file in a HTML file
view html page inside another html
How do I load an HTML page in a <div> using JavaScript?
How to include an HTML page into another HTML page without frame/iframe?
 
     
     
     
     
    