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

Re: Need Help with HTML iframe

by iamkajal » 21 Jun 2021, 01:52

Hi, if you are want to redirect a webpage to another, then you try this code.

Code: Select all

<head>
  <meta http-equiv="refresh" content="5; URL=https www.bitdegree.org /"  Broken Link for safety />
</head>
<body>
  <p>If you are not redirected in five seconds, <a href="https www.bitdegree.org /"  Broken Link for safety>click here</a>.</p>
</body>

Need Help with HTML iframe

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