In this tutorial, you will see the use of <iframe> tag in HTML5.
In this tutorial, you will see the use of <iframe> tag in HTML5.In this tutorial, you will see the use and implementation of iframe tag. It is use for creating a inline frame. Inline frame allows you to open new document inside the main browser's window. Inline frame is also called floating frame. Iframe can be placed anywhere inside the site.
Attribute of iframe:<iframe src="URL">....</iframe> |
<!DOCTYPE html > <html > <head> <title>Title of document</title> </head> <body> <p><strong>iframe</strong><b> tag Example.</b></p> <p><b>Implementation of <iframe> in HTML5.</b></p> <iframe src="http://www.roseindia.net/" name="Bharat" > </iframe><br> <iframe src="http://www.google.co.in/" ></iframe> <br> </body> </html> |
The form tag is available in both HTML5 and HTML4.01. But there is some attribute in HTML5, that is not supported by HTML4.01.