How to create multiple web pages in same index.html file ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to create multiple web pages in same index.html file ?

without creating link or directing to other page

28th Sep 2020, 8:03 AM
Vaibhav Pawar
Vaibhav Pawar - avatar
2 Answers
+ 1
Use JS to display different sections. For example https://code.sololearn.com/W8ff4K0GS9Bv/?ref=app
28th Sep 2020, 8:11 AM
Raj Chhatrala
Raj Chhatrala - avatar
- 1
use Iframe
28th Sep 2020, 8:14 AM
darkcris1
darkcris1 - avatar