Frame Tag
Next ❯Form Overview
Frame Tag is used to display a web page within a web page
- Syntax:
<iframe>
Example:
- turned_in_not
<iframe>Tag<!DOCTYPE html> <html> <head><title>Iframe Tag Example</title></head> <body> <iframe src="sample.html" height="200" width="600"></iframe> </body> </html>Output:
- To Remove border of your frame, just add
"style"Attribute inside your<iframe>Tag ,shown below
<iframe src="sample.htm" height="200" width="600" style="border:none;"></iframe> - To Remove border of your frame, just add
- trending_downOpen any link on your web page inside iframe
<iframe src="demo.html" name="iframe_name"></iframe> <a href="http://YourSiteURL" target="iframe_name">YourSiteName</a>- Add above code inside
<body>Tag - Note!
"name" Attributeinside<iframe>Tag should be equal to"target" Attributeinside<a>Tag as shown above
- Add above code inside
Browsers Supports
Safari | Microsoft Edge | Mozilla Firefox | Chrome | Opera Mini |
Click on the above icon to see the name of the browser !
- Tips! Always try to use latest version of browser
❮ Prev Object Tags
Next ❯Form Overview











So,