ASPForums.Net RSS Feedhttp://www.aspforums.net/Handlers/RSS.ashxLatest additions to the content that appears on ASPForums.Net(c) 2019 www.aspforums.com. All rights reserved.Add close Botton to IFRAME in ASP.Net<p>Hi <a class="username" rel="akhter"> akhter</a>,</p> <p>You could put anchor link into some kind of container like div for your iframe.</p> <p>Check this example. Now please take its reference and correct your code.</p> <p><strong><span style="text-decoration: underline;">HTML</span></strong></p> <div class="demo_block"> <pre class="brush: html">&lt;html xmlns=&#34;http://www.w3.org/1999/xhtml&#34;&gt; &lt;head&gt; &lt;title&gt;&lt;/title&gt; &lt;/head&gt; &lt;body&gt; &lt;div&gt; &lt;iframe style=&#34;float: left;&#34; width=&#34;560&#34; height=&#34;315&#34; src=&#34;https://www.youtube.com/embed/1V5gzqBe5j4?rel=0&amp;autoplay=1&#34; frameborder=&#34;0&#34; allow=&#34;accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture&#34; allowfullscreen&gt;&lt;/iframe&gt; &lt;a href=&#39;javascript:void(0)&#39; style=&#34;color: Red; float: left;&#34; onclick=&#39;this.parentNode.parentNode.removeChild(this.parentNode)&#39;&gt;X&lt;/a&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt;</pre> </div> <p><a class="demo button orange btn btn-red">Demo</a></p>https://www.aspforums.net:443/Threads/179235/Add-close-Botton-to-IFRAME-in-ASPNet/https://www.aspforums.net:443/Threads/179235/Add-close-Botton-to-IFRAME-in-ASPNet/Wed, 04 Sep 2019 05:58:23 GMT