Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Whats the story with iframes?
Old 08-04-2009, 08:33 AM Whats the story with iframes?
TWD
TWD's Avatar
King Spam Talker

Posts: 1,184
Trades: 0
The <iframe> tag is invalid in XHTML strict AND HTML strict

BUT.....

Apparently it is valid in HTML5

Making a comeback?


I think its important to distinguish between <iframe> and
the nasty old school <frame> tag.

<iframes> are like embedded objects within a page that obey normal
formatting rules.


The <frame> tag defines one particular window (frame) within a frameset.
Each frame in a frameset can have different attributes, such as border, scrolling, the ability to resize, etc.
To be valid it also requires a Frameset DOCTYPE.
TWD is online now
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-04-2009, 09:15 AM Re: Whats the story with iframes?
Banned

Posts: 81
Location: kavoir.com
Trades: 0
Actually HTML5 makes a lot of differences from XHTML. It'll never be the XML way any more.

In addition, there's lots of new features such as inherently scripted form controls without the need of javascript.
yangyang is offline
Reply With Quote
View Public Profile Visit yangyang's homepage!
 
Old 08-04-2009, 10:53 AM Re: Whats the story with iframes?
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
Quote:
Originally Posted by TWD View Post
The <iframe> tag is invalid in XHTML strict AND HTML strict
An IFRAME element will still work in either of those document types. The reason it is coming back in HTML 5 is because it is useful for web-applications, and is widely used. It is sometimes important to have a totally sterile CSS and scripting environment so that it may be ported into anything. The most common example is online text-editors, such as the one we type on here every time we make a post. Virtually every online text editor on the internet uses an IFRAME which communicates with a TEXTAREA through JavaScript calls.

The problem with an IFRAME, is that beginners often use it in the place of Server Side Includes, which it is not very useful for.
__________________
I build web things. I work for the startup
Please login or register to view this content. Registration is FREE
.
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 08-05-2009, 07:28 AM Re: Whats the story with iframes?
Banned

Posts: 5
Name: Thomas Wilson
Location: U.K.
Trades: 0
Thank's For sharing about iframes in this much detail,I just little about it iframes are inline frames. They can be inserted into the body of a html page and you can populate the iframe with static html or dynamically via a cgi script etc.
thomas15 is offline
Reply With Quote
View Public Profile Visit thomas15's homepage!
 
Old 08-05-2009, 11:15 AM Re: Whats the story with iframes?
TWD
TWD's Avatar
King Spam Talker

Posts: 1,184
Trades: 0
Quote:
Originally Posted by wayfarer07 View Post
An IFRAME element will still work in either of those document types. The reason it is coming back in HTML 5 is because it is useful for web-applications, and is widely used. It is sometimes important to have a totally sterile CSS and scripting environment so that it may be ported into anything. The most common example is online text-editors, such as the one we type on here every time we make a post. Virtually every online text editor on the internet uses an IFRAME which communicates with a TEXTAREA through JavaScript calls.

The problem with an IFRAME, is that beginners often use it in the place of Server Side Includes, which it is not very useful for.
No argument from me. I think iFrames are extremely useful too.
It just seems odd that they were scratched from the both Strict DOCTYPES which would seem to imply that the W3C saw no valid place for them.
Now here they are again in HTML5. There must be some kind of story behind it. Is it simply that technology has veered in an unanticipated direction?

Now if only we could get them to allow the target ="_blank" attribute *sigh*
TWD is online now
Reply With Quote
View Public Profile
 
Old 08-05-2009, 11:41 AM Re: Whats the story with iframes?
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
target="_blank" is coming back too I thought. Look it up, but I thought I read that somewhere. I use this one personally, and don't see any reason why it shouldn't be in the standard.

I think at the time that HTML 4 and XHTML were put together there was a big movement in the standards committee against anything that was a frame, due to how disastrous FRAMESETS were, and how sloppy the usage of Inline frames were in general. After all, using IFRAMES is usually a poor design choice. In hindsight, excluding them from a strict interpretation of HTML seems to me to be a mistake, however, since they are useful in certain circumstances.
__________________
I build web things. I work for the startup
Please login or register to view this content. Registration is FREE
.
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 08-09-2009, 10:12 PM Re: Whats the story with iframes?
TWD
TWD's Avatar
King Spam Talker

Posts: 1,184
Trades: 0
Quote:
Originally Posted by wayfarer07 View Post
target="_blank" is coming back too I thought. Look it up, but I thought I read that somewhere. I use this one personally, and don't see any reason why it shouldn't be in the standard.

I think at the time that HTML 4 and XHTML were put together there was a big movement in the standards committee against anything that was a frame, due to how disastrous FRAMESETS were, and how sloppy the usage of Inline frames were in general. After all, using IFRAMES is usually a poor design choice. In hindsight, excluding them from a strict interpretation of HTML seems to me to be a mistake, however, since they are useful in certain circumstances.
100% agree.
I hope you are right about the target "_blank"
Now if I can just wade through the turgid W3C announcements...
TWD is online now
Reply With Quote
View Public Profile
 
Old 08-09-2009, 10:24 PM Re: Whats the story with iframes?
Banned

Posts: 315
Name: Doug
Trades: 1
Bring back <center> and align=center and I will die happy.....

Not everyone wants to left justify everything.
marketingman100 is offline
Reply With Quote
View Public Profile
 
Old 08-12-2009, 08:19 AM Re: Whats the story with iframes?
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
Quote:
Originally Posted by marketingman100 View Post
Bring back <center> and align=center and I will die happy.....

Not everyone wants to left justify everything.
Of course, you'll be free to go ahead and keep using that stuff, since browsers will continue to support the old style of markup. I wouldn't expect much support from the standards committee though.
__________________
I build web things. I work for the startup
Please login or register to view this content. Registration is FREE
.
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 08-12-2009, 09:52 AM Re: Whats the story with iframes?
vkw91's Avatar
Ultra Talker

Latest Blog Post:
Good Web Design Guide - part 1
Posts: 314
Name: Vicky
Location: Wales
Trades: 0
Why use an iframe, when you can change your page extensions to .php and use a php include instead. Well, actually, after saying that I can see its uses, but none the less it is messy!
__________________
Blog (new):
Please login or register to view this content. Registration is FREE

Portfolio:
Please login or register to view this content. Registration is FREE

Techno Pup:
Please login or register to view this content. Registration is FREE

vkw91 is offline
Reply With Quote
View Public Profile Visit vkw91's homepage!
 
Old 08-17-2009, 07:36 AM Re: Whats the story with iframes?
Novice Talker

Posts: 9
Name: Jason
Trades: 0
iFrames are out!
__________________

Please login or register to view this content. Registration is FREE
RocketBristol is offline
Reply With Quote
View Public Profile Visit RocketBristol's homepage!
 
Old 08-29-2009, 11:37 PM Re: Whats the story with iframes?
Brian07002's Avatar
Defies a Status

Posts: 2,162
Name: ...
Location: ...
Trades: 0
I would say what ever tags the web consortium wants to be 'valid' in the new web standards they will allow...I just say, screw it...If you like the way your site looks, enjoy it, and others will also enjoy it. That's all you need to know about the 'web standards'...
__________________
Made2Own

Please login or register to view this content. Registration is FREE
Brian07002 is offline
Reply With Quote
View Public Profile
 
Old 09-05-2009, 10:46 AM Re: Whats the story with iframes?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
The target attribute has never really gone away, in reality it was only ever truly applicable for frameset DTDs in any version of HTML/XHTML.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 09-07-2009, 05:45 PM Re: Whats the story with iframes?
rabble's Avatar
Novice Talker

Posts: 9
Name: Troy
Location: Ohio
Trades: 0
Quote:
Originally Posted by Brian07002 View Post
If you like the way your site looks, enjoy it, and others will also enjoy it. That's all you need to know about the 'web standards'...
Brian. I agree with you. If it looks good to you ... run with it.
I wasted a goodly amount of time just after 2000 tring to learn to cope with browser incompatibility issues. The final conclusion was that it just wasn't worth the trouble. Not on the webmaster side anyway.

I do think the push to have standards should be supported though,
even if real artists decide to ignore them.

And, on the main subject:

I'm glad <iframes> are back since I just redid my site to be totally enclosed in an <iframes> template. Thanks (maybe) for inspiring me Wayfarer.

I also target all external (outside my own domain ) web pages to _blank.
This is to keep them from appearing inside my own <iframe>.
There was a copyright suit prior to 2000 where the judgement was that
loading external pages into internal frames could ( and did in the case I am thinking of ) constitute a copyright infringement.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
rabble is offline
Reply With Quote
View Public Profile Visit rabble's homepage!
 
Old 09-07-2009, 05:59 PM Re: Whats the story with iframes?
Brian07002's Avatar
Defies a Status

Posts: 2,162
Name: ...
Location: ...
Trades: 0
..snip
Quote:
There was a copyright suit prior to 2000 where the judgement was that
loading external pages into internal frames could ( and did in the case I am thinking of ) constitute a copyright infringement.
That amazes me, ****, what is with people, I remember when people just wanted a link to on your site...
__________________
Made2Own

Please login or register to view this content. Registration is FREE
Brian07002 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Whats the story with iframes?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.53906 seconds with 12 queries