+ 1
What is iframe?
4 odpowiedzi
+ 4
An iframe is kind of like a website within your webpage. With an iframe you include the content of another source within your own page.
This can be useful if you want to show ads on a specific place in your site without changing the source URL. On the other hand it gives you the flexibility to change ads without having to change your main site.
+ 4
An IFrame (Inline Frame) is an HTML document embedded inside another HTML document on a website. The IFrame HTML element is often used to insert content from another source, such as an advertisement, into a Web page.
+ 3
The <iframe> tag specifies an inline frame.
An inline frame is used to embed another document within the current HTML document.
Tips and Notes
Tip: To deal with browsers that do not support <iframe>, add a text between the opening <iframe> tag and the closing </iframe> tag.
Tip: Use CSS to style the <iframe> (even to include scrollbars).
Differences Between HTML 4.01 and HTML5
HTML5 has added some new attributes, and several HTML 4.01 attributes are removed from HTML5.
Differences Between HTML and XHTML
In XHTML, the name attribute is deprecated, and will be removed. Use the global id attribute instead.
html code example:
<iframe src="https://www.sololearn.com">
<p>Your browser does not support iframes.</p>
</iframe>
+ 1
Thanks