Home >Web Front-end >HTML Tutorial >Sharing of code examples used in html iframe

Sharing of code examples used in html iframe

黄舟
黄舟Original
2017-04-24 10:15:273462browse

Use of Iframe
Sometimes we need to embed another interface in a page containing 6c04bd5ca3fcae76e30b72ad730ca86d to form a picture-in-picture effect

<!doctype html>
<html>
 <head>
  <meta charset="UTF-8">
  <meta name="Generator" content="EditPlus">
  <meta name="Author" content="">
  <meta name="Keywords" content="">
  <meta name="Description" content="">
  <title>Document</title>
 </head>
 <body>
  <html>
<body>
<h1>hello,world</h1>
<a href="http://www.taobao.com" target="iframe1" >连接到taobao</A><br/>
<a href="demo10.html" target="iframe1" >demo10.html</A><br/>
<iframe name="iframe1" src="http://www.baidu.com" width="500px" height="400px" />
<iframe src="http://g.cn" width="400px" height="400px" />
</body>
</html>
</body>
</html>

The above is the detailed content of Sharing of code examples used in html iframe. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn