title: Using <object> tag to include HTML content: allowed format of included file
body: <p>OK, I know how to include HTML content from a separate file using the <code>&lt;object&gt;</code> tag. What I can't find any info about is what is allowed/required within the included HTML file. Can said included file merely be some text with some HTML tags, or does it have to be a complete HTML file with headers, <code>&lt;head&gt;</code>, and <code>&lt;body&gt;</code>? How does this appear within the DOM of the original document, if it appears within that DOM at all? Or are the two documents treated entirely separately?</p>
  
  <p>Yes, I know, I could experiment to see what works. However, I know enough about HTML to know that what happens to work, for now, may not be the correct way to do things. I am not expecting anyone to list out all the rules here, but if someone could post some links I would much appreciate it. This is a topic that has proven exceeding difficult to search the internet for.</p>