all members give to me any suggestion …
How to embed a webpage within another webpage and How to add audio content to a webpage.
This page explains all you need to know about audio:
As for embedding a page, perhapss you could explain more clearly what it is you’re trying to achieve.
You can use an <iframe>
to embed pages.
https://developer.mozilla.org/en/docs/Web/HTML/Element/iframe
The HTML5 <audio>
element can be used to add audio.
For Embeding a web page into another one is just one line code, for this use <iframe>
tag
what you need to do is
<iframe src="url of required page">
</iframe>
For audio use the tag <audio>
In 1997 the <object>
tag was introduced as a replacement for the <iframe>
tag so you can use that to embed web pages.
<object type="text/html" data="url of required page">
</object>
The following link shows an article comparing iframes and objects for embedding elements in your webpage.
Embedding reference
In summary <iframe>
s are for embedding other web pages, and the other allows you to embed PDFs, SVG, and Flash
That page doesn’t mention using <object>
as an alternative to <iframe>
https://www.w3.org/TR/html401/struct/objects.html is the standard that mentions it - note that with HTML 4 iframes required a transitional doctype while the object equivalent was allowed with the strict doctype - indicating that object was the preferred option for future use.
The two are equivalentfor embedding web pages in all browsers more recent than IE6 (which forced a border around the object that couldn’t be turned off).
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.