HTML Iframes Tag

1/29/2020 6:15:41 AM

Iframe is a tag which is represent the video by using src attribute. When we show the other site some video in our site then we use the iframes. This iframes tag is more use full tag to show the video into our web site. We can also set the other attribute in the iframes tag like height width style etc. Now given bellow the example code and explain the code:

<!DOCTYPE html>
      	<title>This is HTML</title>
        <!--iframe tag-->
       <iframe style="border:5px solid red" src=""></iframe>

In this code we can see the firearm tag code and we can see the “src” attribute also use the style attribute for the border which color is red.