IFrames

IFrames An "iframe" tag creates a child window in the main web page.

Explanation:

Most websites nowadays keep youtube videos as a part of testimonials or some other way of marketing through social media or other channel The obvious way to achievce this is to have one or more iframes inside parts of webpage.



<iframe src="https://www.w3schools.com" title="W3Schools Free Online Web Tutorials"></iframe>

The iframe tag has two attributes:
  • The src attribute contains the URL of the page it is referring to and can contain query parameters
  • The title atribute contains the text when we hover over the iframe window inside the web page
  • The width attribute contains the maximum width the inline frame can take
  • The height attribute contains the maximum height the inline frame can take


Example:

<iframe src="https://cdn.pixabay.com/photo/2021/02/09/13/00/ganesh-5998483__340.jpg" title="Some Text"></iframe>

Comments

Popular posts from this blog

Laravel | PHP | Basics | Part 2

Apache Hadoop | Running MapReduce Jobs

Parallel Database design, query processing