Sharing of code examples used in html iframe

黄舟
Release: 2017-04-24 10:15:27
Original
3416 people have browsed it

Use of Iframe
Sometimes we need to embed another interface in a page containing 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>
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template