[HTML] Embedded website

Posts 1–13 of 13 · Page 1 of 1
[HTML] Embedded website
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!
I think everyone knows this
Quote Originally Posted by Lyoto Machida View Post
I think everyone knows this
I didnt........
Quote Originally Posted by whit View Post


I didnt........
O.O Thats weird.
Quote Originally Posted by Lyoto Machida View Post


O.O Thats weird.
And how so ?
I Dunno HTML
Maybe, maybe not. Still worth a share.
simple...btw: you can change the height and width to "100%" and it fills the whole window.
Quote Originally Posted by Web-Designer View Post
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.
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
Quote Originally Posted by Void View Post
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
A. http://www.mpgh.net/forum/198-php-ht...vault-php.html

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.
Quote Originally Posted by NextGen1 View Post
A. http://www.mpgh.net/forum/198-php-ht...vault-php.html

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.
Sorry. /: .
Posts 1–13 of 13 · Page 1 of 1

Post a Reply

Tags for this Thread

None

Need help?