表格中的iframe实现打开多个网页

来源:互联网 发布:甘肃广播电视网络官网 编辑:程序博客网 时间:2024/06/01 12:27

要做到如下效果:


<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html;charset=utf-8"/><base target="_blank"><title>框架</title></head><body><h1>Show a page with iframe</h1><table><tr><td><iframe width="600" height="300" frameborder="0" scrolling="yes"src="http://www.sysu.edu.cn">Your browser does not handles frames!</iframe></td><td><iframe width="600" height="300" frameborder="0" scrolling="yes"src="http://www.baidu.com">Your browser does not handles frames!</iframe></td></tr><tr><td><iframe width="600" height="300" frameborder="0" scrolling="yes"src="http://www.runoob.com">Your browser does not handles frames!</iframe></td><td><iframe width="600" height="300" frameborder="0" scrolling="yes"src="http://www.qq.com">Your browser does not handles frames!</iframe></td></tr><table></body></html>

主要是把一个iframe元素当作表格的一个元素镶嵌进入即可。

0 0
原创粉丝点击