Hello in this HTML Crash Course video, we're going to cover the iframe tag, what is an iframe tag? Well, an iframe tag allows you to embed a website within a website. So you have your website. So let's go here. This is our thought. So far, very simple.
It's a website nonetheless. And if we had an iframe tag, let's say that was about this bid, we could have a website displayed in there. So we could have an actual info displayed and we can interact with it as if it was a normal website. There are some websites that don't work in iframes. What reads I'm not too sure whether they disabled it or whether it's the limitation of the wireframe, but it is still a pretty cool piece of functionality. And iframes have other uses as well, especially when you look into authorization for logins in some sort of back end system like PHP in that's well beyond.
I'll pay the first year or two or more web development, learning, but is this something of work? So it's created iframe tag very simple. You do iframe and close it off. You put a source, which is the actual website itself, from HTTP, colon four slash four slash, W three, no www.to be free school.com. This is just a dummy free school website. I'll save that refresh.
As you see, we now have the W free schools website. I can scroll up and down. This website is very nice and responsive. So of course a mobile experience. If I didn't, I'll be able to scroll left and right as wabo. at MoMA con scrub that.
So if I were to go here, click learn HTML. I can scroll down and I'm literally interacting with the website. Final thing I want to cover in this video is how to explicitly explicitly set the width and the height. So do with As an attribute on the phone and 1250 a fight, I think you guessed it 512 refresh. And there we go. We have a iframe tag.
Let's just show you in here. So, iframe right here is pretty darn cool. I think this is a very cool feature. It's something that you probably won't, I won't say that you won't use a lot. But it's not like a div tag you that you're gonna be constantly using it. But there will be certain scenarios that come up, and the iframe tag is just the deal tag for that situation.
So that's it for iframes. If you have any questions, feel free to post it on my education platform. So no learning Dakota UK. There will be a link in the description to the source code from this video and the source code of every video. This series that actually so scope obviously the intro doesn't. And if you don't agree, please let us know if you did, please let us know as well so we can improve it for next time.
And as usual, thanks for watching and have a great day, great weekend and just a great life in general.