Can I include an HTML page into another HTML page like in php (include ("some.php");
) but if I don't have server?
Asked
Active
Viewed 57 times
-2

Arsen Tatraev
- 470
- 1
- 4
- 16
-
Pure HTML? You can't – Alon Eitan Dec 13 '19 at 14:17
-
@AlonEitan hm... :( – Arsen Tatraev Dec 13 '19 at 14:19
-
You could perhaps mimic the behavior with an `iframe`? Depends on exacly what you're trying to achieve. – David Dec 13 '19 at 14:19
-
Sorry, not my fault :p, but you can do it [with javascript](https://stackoverflow.com/questions/8988855/include-another-html-file-in-a-html-file) – Alon Eitan Dec 13 '19 at 14:21
1 Answers
-1
The only way to accomplish what you're looking for is with an <iframe>
, which will show another page inside the page that has the iframe.

scuba_mike
- 360
- 3
- 12
-
thank you for the answer, but this way is not good in this task. – Arsen Tatraev Dec 13 '19 at 14:58
-