框架代码:
实例
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>L3登陆后台首页</title> </head> <body> <table border="0" cellpadding="5" cellspacing="0" align="center" width="960"> <tr> <!-- 顶部 --> <td colspan="2"> <iframe src="ym/1.html" name="1" height="80" width="100%" frameborder="0" scrolling="no" align="center"></iframe> </td> </tr> <tr> <!-- 分割线 --> <td colspan="2"><hr></td> </tr> <tr> <!-- 左侧 --> <td><iframe src="ym/2.html" name="2" height="600" width="140" frameborder="0" scrolling="no" align="center"></iframe></td> <!-- 右侧 --> <td valign="middle"><iframe src="ym/3.html" name="3" height="600" width="800" frameborder="0" scrolling="no" ></iframe></td> </tr> <tr> <td colspan="2"><hr></td> </tr> <tr> <!-- 底部 --> <td colspan="2"> <iframe src="ym/4.html" name="4" height="60" width="100%" frameborder="0" scrolling="no" align="center"></iframe> </td> </tr> </table> </body> </html>
运行实例 »
点击 "运行实例" 按钮查看在线实例
框架页面:
用户查询代码:
实例
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>用户查询</title> </head> <body> <table border="1" cellpadding="5" cellspacing="0" align="center" width="80%"> <caption><h2>用户查询</h2></caption> <tr bgcolor="skyblue"> <th>id</th> <th>用户名</th> <th>邮箱</th> <th>状态</th> <th>操作</th> </tr> <tr align="center"> <td>01</td> <td>朱老师</td> <td>1111@php.cn</td> <td>启用</td> <td><a href="http://www.baidu.com" target="3"><img src="../images/tj.jpg"></a></td> </tr> <tr align="center"> <td>02</td> <td>小树老师</td> <td>222@php.cn</td> <td>未启用</td> <td><a href=""><img src="../images/tj.jpg"></a></td> </tr> <tr align="center"> <td>02</td> <td>小猪老师</td> <td>333@php.cn</td> <td>启用</td> <td><a href=""><img src="../images/tj.jpg"></a></td> </tr> </table> </body> </html>
运行实例 »
点击 "运行实例" 按钮查看在线实例
运行页面: