Question

In my html5/css3 website I need to load a <form> from an external host/server and display it somewhere on my page. I've read that frames are deprecated. What would be an alternative?, How would I do it?

thanks

Was it helpful?

Solution

You can use Iframes for this:

<iframe src="http://example.com/form.php" name="myform"> // or src="path/to/your/form.php"

// the content of your Iframe goes here...

</iframe>  

http://www.quackit.com/html_5/tags/html_iframe_tag.cfm

http://webdesign.about.com/od/iframes/a/html5-iframe-attributes.htm

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top