Example of Opening Links in an iFrame - HTML CSS HTML

HTML CSS examples for HTML:iframe

Description

Example of Opening Links in an iFrame

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html lang="en">
 <head> 
  <meta charset="UTF-8"> 
  <title>Example of Opening Links in an iFrame</title> 
 </head> <!--from  ww w . j a  v a 2  s. c  om-->
 <body> 
  <iframe src="http://java2s.com" name="myFrame"></iframe> 
  <p><a href="http://www.java2s.com" target="myFrame">java2s.com</a></p>   
 </body>
</html>

Related Tutorials