iframe into html code example

Example 1: html iframe tag

<iframe src="http://kidcreatorsteam.com" height="90px" width="40px"></iframe>
<!--I made an iframe! Yay! -->

Example 2: iframe attributes

<iframe width="560" height="315" src="https://www.youtube.com/embed/owsfdh4gxyc" frameborder="0" allowfullscreen></iframe>

Example 3: iframe in html

<iframe src="yourURL" height="200" width="300"></iframe>

Example 4: iframe with html string

<iframe srcdoc="<html><body>Hello, <b>world</b>.</body></html>"></iframe>

Tags:

Html Example