Need Help with HTML iframe

Post a reply


In an effort to prevent automatic submissions, we require that you complete the following challenge.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :| :mrgreen: :geek: :ugeek: :arrow: :angel: :clap: :crazy: :eh: :lolno: :problem: :shh: :shifty: :sick: :silent: :think: :thumbup: :thumbdown: :salute: :wave: :wtf: :yawn: :facepalm: :bravo: :dance: :beard: :morebeard: :xmas: :HeHe: :trollface: :cookie: :rainbow: :monkeysee: :monkeysay: :happybday: :headwall: :offtopic: :superhappy: :terms: :beer:
View more smilies

BBCode is ON
[img] is OFF
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Need Help with HTML iframe

Need Help with HTML iframe

Post by sn0365 » 17 Oct 2018, 06:54

Need some help.

I am extremely new to HTML. I have created an iframe for a webpage. When I load the iframe, the page has a redirection. I need that redirected page automatically opening within the iframe.
Here is my code.

<!DOCTYPE html>
<html>
<head<title><center><font size ="6">test </font></center></title></head>
<br>
<head><center><b><font size ="4">PROJECT - REAL TIME TRACKING OF A SPECIMEN </font><b></center></head>


<style>
div{
width:1550px;
height:570px;
position:relative;
border:20px solid black;
overflow:hidden;
}

iframe{
position:absolute;
width:1550px;
height:2000px;
top:-200px;
right:0px;
}

</style>
</head>
<body>

<body style="background-color:powderblue;">
<div>

<iframe src="website name" scrolling="yes" frameborder="no"><iframe>
</div>

</body>
</html>

Top