Can HTML display text information, for example, in a table cell, using a pointer to a text file?
|
1 answer
Judging by the specification http://www.w3.org/TR/html4/struct/objects.html#edef-OBJECT, you can use object instead of an iframe, for example:
<object type="text/html" data="file.html"></object>
But the result will be something like iframe, regarding compatibility between browsers - it is not clear.
You can use the CSS content property:
<div style="content:url(file.html)"></div>
But this again with all browsers in different ways.
- Thank you very much. I assumed that there should be an object-oriented approach to solving this problem. Be sure to experiment and look at the reaction of browsers. Thanks again. - Igor11
|