Total members 11894 |It is currently Sun Nov 24, 2024 9:44 am Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R Scripts

Weka





Following is an example IFrame tag usage . In the following example we use two IFrame tags.
Code:


<html xmlns="http://www.w3.org/1999/xhtml">
<
head>
    <
meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <
title>Usage of iframe</title>
<
style type="text/css" title="text/css">
#iframebox {
    
width400px;
    
bordersolid 2px red;
}
 
iframe {
    
width400px;
    
height400px;
     
}
</
style>
</
head>
<
body>
    
    <
center>
    <
p>
     
Following show the usage of iframe tag which enable you to load many 
     page 
or src in the same html page.
    </
p>
     <
h2>Codemiles Window</h2>
    <
div id="iframebox">
        <
iframe  src="http://www.codemiles.com" 
                
scrolling="auto" 
                
name="codemilesframe" 
                
frameborder="1" 
                
id="news">Iframe not supportedPlease 
                          
<a href="http://www.codemiles.com">click here</a
                           
        </
iframe
        <
br/>
        
        <
h2>JavaXforums Window</h2>
          <
iframe   src="http://www.javaxforums.com" 
                
scrolling="auto" 
                
name="yahooframe" 
                
frameborder="1" 
                
id="news"Iframe not supported
                          <
a href="http://www.javaxforums.com">click here</a
                         
        </
iframe>
    </
div>
    </
center>
</
body>
</
html>

 




_________________
M. S. Rakha, Ph.D.
Queen's University
Canada


Author:
Mastermind
User avatar Posts: 2715
Have thanks: 74 time
Post new topic Reply to topic  [ 1 post ] 

  Related Posts  to : IFrame tag usage example
 dd tag usage     -  
 Usage of ins tag     -  
 usage of kbd tag     -  
 tt usage example     -  
 Usage of UL tag     -  
 Usage of sub tag     -  
 dir tag usage     -  
 var tag usage     -  
 usage of ol tag     -  
 Usage of sup tag     -  









Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com