'iframe' Example : iframe « HTML Tag Reference « HTML CSS Reference






'iframe' Example

    
<html>
<head>
<title>iframe element example</title>
</head>
<body>
    <p align="center">
    <iframe id="myIframe" 
            frameborder="1" 
            scrolling="yes"
            src="http://www.java2s.com" width="600" height="400">
    </iframe>
    </p>
<br><br><br>
    <p align="center">
    <iframe id="myIframe" 
            frameborder="10" 
            scrolling="yes"
            src="http://www.java2s.com" width="600" height="400">
    </iframe>
    </p>

</body>
</html>

    
      
      








Related examples in the same category

1.'iframe' Syntax and Note
2.'iframe' HTML Attributes
3.'iframe' Event Handlers
4.'iframe' CSS Attributes and JavaScript Style Properties
5.'iframe' Microsoft Behaviors
6.'iframe' Microsoft Filters
7.'iframe' JavaScript Properties
8.'iframe' JavaScript Methods
9.'iframe' JavaScript Collections
10.'iframe' JavaScript Objects