框架标签

14
(1)iframe 框架标签 在网页里再生成一个页面 ,可以生成一个菜单呦
(2)iframe 和a标签组合使用的步骤:再iframe中使用那么属性定义一个名称
(3)在a标签的target属性上设置iframe的name属性值此时才能识别要跳那个标签
(4)此时iframe的名字叫abc 所以 target一跳就在abc上跳 而不是像系统给的如在自己页面上跳转
<iframe src="xxx.html" width="" height="" name="abc"> </iframe>
<a href="xx.html" target="abc"> </a>

 

posted @ 2020-03-27 08:21  why666  阅读(204)  评论(0)    收藏  举报