开发者

What is iframe used for? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 12 years ago.

What is the purpose of the iframe tag in HTML? What i开发者_如何学JAVAs it used for?


An <iframe> is used for containing (X)HTML documents in other (X)HTML documents. This enables updates of parts of a website while the user browses, without making them reload the whole thing. (This is now largely replaced by AJAX).

Also, see:

http://w3schools.com/TAGS/tag_iframe.asp

http://en.wikipedia.org/wiki/HTML_element#Frames


Be careful. <iframe> tags are becoming less common.

I wouldn't use iframes except in really specific cases, because it is nonstandard.

here is the link

However, Google images still uses <iframe> tags.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜