Blogger Information
Blog 54
fans 4
comment 1
visits 54818
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
a标签与iframe理解target与name属性之间的关联-2019年7月3日
神仙不在的博客
Original
819 people have browsed it

a标签和iframe配合使用可以做网站的管理后台

实例

<!DOCTYPE html>
<html lang="cn_ZH">
<head>
    <meta charset="UTF-8">
    <title>a标签与iframe理解target与name属性之间的关联</title>
</head>
<body>
<h2>后台管理系统</h2>
<ul style="float: left">
    <li><a href="http://www.baidu.com" target="main">添加栏目</a></li>
    <li><a href="http://www.163.com" target="main">添加新闻</a></li>
    <li><a href="http://www.qq.com" target="main">管理会员</a></li>
    <li><a href="http://sogou.com" target="main">系统备份</a></li>
</ul>
<iframe src="" frameborder="0" name="main" width="800" height="800" style="float: left;margin-left: 20px" ></iframe>
</body>
</html>

运行实例 »

点击 "运行实例" 按钮查看在线实例

a标签的target属性设置为ifarme属性的name值,这样他们就关联起来

Correction status:qualified

Teacher's comments:请下次统一提交, 不要分多次
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post