Well I recently started learning HTML, and I just learned this and I thought it was amazing!
This is called an iFrame. An iFrame automatically embeds a website directly into your site. [I am actually posting this through a page I created on my localhost]. You can set the width and height considering the default is like 200 x 200 I think? Which is pretty small for a website... So, here's the code:
[HTML]<iframe src="http://www.mpgh.net" width="1000" height="1000" frameborder="2" <!-- The border is optional, for no border, change that value to 0 --> name="mpgh"></iframe>
<p><a href="http://www.mpgh.net" target="mpgh">MPGH</a></p>[/HTML]
The last line where the paragraph tag starts, puts a link to the site underneath it. That is optional of course.
Enjoy your embedded websites!
Posts 1–13 of 13 · Page 1 of 1
Post a Reply
Tags for this Thread
None
I think everyone knows this
Maybe, maybe not. Still worth a share.
Originally Posted by ChocoBoy
I think everyone knows this
I didnt........
Originally Posted by whit
I didnt........
O.O Thats weird.
simple...btw: you can change the height and width to "100%" and it fills the whole window.
Originally Posted by Web-Designer
simple...btw: you can change the height and width to "100%" and it fills the whole window.
Thanks for the tip. I am a total newbie when it comes to HTML.
Originally Posted by -Away
O.O Thats weird.
And how so ?
I Dunno HTML
Great contribution ZERO, I usually just see you spamming general most of the time. More active people in the programming section the better.
I've been meaning to learn some sort of web dev but I'm probably gonna' go with PHP. o_O
Originally Posted by Void
Great contribution ZERO, I usually just see you spamming general most of the time. More active people in the programming section the better.
I've been meaning to learn some sort of web dev but I'm probably gonna' go with PHP. o_O
Thanks.
I really really want to learn PHP, but I thought I'd start with the very basics and learn HTML. Maybe some Java? PHP is probably the most powerful web development languages around.
why iframe though? if you just say frame instead, you can make it go like a still header
There is no reason for a whole thread on this, if I allow this to continue, I can create a thread called
anchor Do this <a
or Links , do this <a href
or acronyms, do this <abbr
you get the idea
B. Don't use iframes
bad for seo and treated as a separate page
try to style it, in most websites it would look out of place
they are not w3 compliment
some older versions of popular browsers don't support iframe
I suggest using object, not that there are many good reasons to "embed" a 3rd party website into your website, unless you are creating some sort of online OS and this OS will have a browser, facebook like uses iframe, and some other small reasons.
There is no reason for a whole thread on this, if I allow this to continue, I can create a thread called
anchor Do this <a
or Links , do this <a href
or acronyms, do this <abbr
you get the idea
B. Don't use iframes
bad for seo and treated as a separate page
try to style it, in most websites it would look out of place
they are not w3 compliment
some older versions of popular browsers don't support iframe
I suggest using object, not that there are many good reasons to "embed" a 3rd party website into your website, unless you are creating some sort of online OS and this OS will have a browser, facebook like uses iframe, and some other small reasons.