0

how to mix two html by frames

13th Oct 2016, 6:43 AM
Mihisha Thakkar
Mihisha Thakkar - avatar
6 ответов
0
If you want both html pages in 2 rows, <html> <title></title> <frameset rows="50%,*"> <frame src="firstpage.html"> <frame src="secondpage.html"> </frameset> </html> If you want both html pages in 2 columns, <html> <title>Dividing Web page</title> <frameset cols="50%,*"> <frame src="firstpage.html"> <frame src="secondpage.html"> </frameset> </html>
13th Oct 2016, 11:47 AM
Sumita Das
Sumita Das - avatar
0
bt its not coming....... X-frame-option to sameorigin error is showing.....what should i do
13th Oct 2016, 12:08 PM
Mihisha Thakkar
Mihisha Thakkar - avatar
0
you can also add embed tag.like, <embed src="/file.html"></embed>
13th Oct 2016, 6:42 PM
HM Imran
HM Imran - avatar
0
Hey Mihisha, please copy your code here. Let me see what's the problem.
14th Oct 2016, 2:47 AM
Sumita Das
Sumita Das - avatar
0
sumita das,can u merge two html and post it in code playground and send me the link
14th Oct 2016, 4:50 PM
Mihisha Thakkar
Mihisha Thakkar - avatar
0
Three html files: 1. firstpage.html <html> <head></head> <body style="background-color:green"> <p>This is the first html file in first frame. This is the first html file in first frame. This is the first html file in first frame.</p> </body> </html> 2. secondpage.html <html> <head></head> <body style="background-color:yellow"> <p>This is the second html file in first frame. This is the second html file in first frame. This is the second html file in first frame.</p> </body> </html> 3. mainpage.html (OPEN THIS IN BROWSER) <html> <title>Dividing Web page</title> <frameset cols="50%,*"> <frame src="firstpage.html"> <frame src="secondpage.html"> </frameset> </html>
18th Oct 2016, 6:06 AM
Sumita Das
Sumita Das - avatar