Comment faire une page apparaît sur une autre page en javascript ?
1 Answers
You should use iframe tag:
Example
<!-- index.html -->
<!DOCTYPE html>
<html>
<head>
<title>My Page</title>
</head>
<body>
<h1>Welcome to my page!</h1>
<iframe src="otherpage.html"></iframe>
</body>
</html>
Create the page that will be displayed in the iframe:
<!-- otherpage.html -->
<!DOCTYPE html>
<html>
<head>
<title>Other Page</title>
</head>
<body>
<h1>Other Page</h1>
<p>This is the content of the other page.</p>
</body>
</html>
1
Likes
0
Dislikes
Likes
Dislikes
1
Comments
Login to add comment