I made a html file with an effect and I want to add this to my site I used the <embed> tad like this <embed width="300px" height="250px" src="myfile.html" /> In Google Chrome works fine but in Firefox and IE appears me a message that need a plug-in to play it. Have u got any ideas?????
The <embed> tag is used to add embedded content (videos, flash, etc) into an html page. You're probably looking for the <iframe> tag, which allows you to embed html files into a webpage. Example: <iframe src="myfile.html" style="width:300px;height:250px;" />
Yes. <iframe> stands for inline frame, while <frame> is a frameset. So when you use the <frame> tag, it defines places where you can display multiple views within one html file. <iframe> is meant to embed an html page (or similar) into a select portion of a page, and it's essentially an embeded html file that displays within this "box" that it will make.
Yes but why when I use iframe the rest of the page does not load?? I have an smf forum and the categories board which is above the iframe doesn't load. Why is that?
You might have an error in your syntax with your source code. It could also be from the page that's being loaded within the iframe that has a syntax error as well.