JS-маньяк
Покинул форум
Сообщений всего: 2109
Дата рег-ции: Июль 2004
Откуда: Липецк
Карма 17
|
Вот выдержка из спецификации HTML 4.0
Цитата:Including HTML in another HTML document
Sometimes, rather than linking to another document, it is helpful to include the contents of an HTML document in another HTML document. We recommend using the OBJECT element with the data attribute for this purpose.
For instance, the following line will include the contents of piece_to_include.html at the location where the OBJECT definition occurs.
CODE:...text before...
<OBJECT data="file_to_include.html">
Warning: file_to_include.html could not be included.
</OBJECT>
...text after...
The contents of OBJECT must only be rendered if the file specified by the data attribute cannot be loaded.
The behavior of a user agent in cases where a file includes itself is not defined.
Careful file inclusions. Be careful if you attempt to include a section of an HTML document defined by an anchor. The entire document after the anchor definition will be included, and you might unwittingly include unwanted end tags (for elements such as BODY, HTML, etc.) in your document.
The IFRAME element may also be used to insert an inline frame containing text in an HTML document.
Одно "но": ни черта не будет работать у до_фига% юзверей А вот года через 3... |