0
how to mix two html by frames
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>
0
bt its not coming....... X-frame-option to sameorigin error is showing.....what should i do
0
you can also add embed tag.like,
<embed src="/file.html"></embed>
0
Hey Mihisha, please copy your code here. Let me see what's the problem.
0
sumita das,can u merge two html and post it in code playground and send me the link
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>